Skip to content

Commit

Permalink
parse children of divs
Browse files Browse the repository at this point in the history
  • Loading branch information
Builditluc committed Aug 5, 2023
1 parent 16d5524 commit 4c77a23
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/wiki/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ impl<'a> Parser<'a> {
}
"" => (),
"dl" => self.parse_description_list(node),
"div" => {
node.children().map(|node| self.parse_node(node)).count();
}
_ if SHOW_UNSUPPORTED => {
self.elements.push(Element::new(
self.next_id(),
Expand Down

0 comments on commit 4c77a23

Please sign in to comment.