Closed lsh closed 1 year ago
Thanks for raising this! It seems this is because of: https://github.com/yoshuawuyts/html/issues/9. The quickest fix for this is probably indeed to just white-list the Anchor
element and add a text
field to it. Similar to what we're planning to do for #41.
Thanks for this crate! It seems like
AnchorChild
doesn't have a.text()
method for now. Ideally in the future we would be able to add elements like<li>
, but for nowtext
would allow users to workaround adding content.