Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions src/html.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,7 @@ fn contains_strong(handle: &Handle) -> bool {
return true;
}
}
for child in handle.children.borrow().iter() {
if contains_strong(child) {
return true;
}
}
false
handle.children.borrow().iter().any(contains_strong)
}

/// Converts a `<table>` DOM node into Markdown table lines and calls
Expand Down