Expand description
Should add these to ahtml crate.
Functionsยง
- anchor
- Make an anchor (target for
#foostyle links) in the best compatible way - extract_
paragraph_ body - Strip outer
divandpHTML elements and return the body of the inner-most of them. E.g.<div><p>Some <b>text</b>.</p></div>becomesSome <b>text</b>.. If not possible, returns the original node. Ifnodeis not inhtml, silently returns the original node. Ifkeep_if_attributesis true, only strips elements when they have no attributes. - flat_
get - flat_
len - How many items the Flat contains.