html_tools/docs: Add string to trigger test

pull/2351/head
Constantin Hong 3 months ago
parent 1743ca0093
commit 912470fb0d

@ -116,7 +116,8 @@ def forest_transplanting(root):
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.
'fragment=True' in elementpath.select is required. This part is where I
violates the spec.
"""
from lxml import etree

Loading…
Cancel
Save