Update html_tools.py comment to trigger test

pull/2351/head
Constantin Hong 4 months ago committed by GitHub
parent 0e66cb072e
commit 889fdbbcff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -116,7 +116,7 @@ def forest_transplanting(root):
"""
The html parser of libxml2 violates DOM rules. It means there can be
multiple root element nodes. So I choose just transplating them to a new
root when the violation happens. See also,
root element when the violation happens. See also,
https://gitlab.gnome.org/GNOME/libxml2/-/issues/716 This will emulate
xpath1 of html of libxml2 like '/html[2]/*'. To make this function work,
'fragment=True' in elementpath.select is required.

Loading…
Cancel
Save