kopia lustrzana https://github.com/dgtlmoon/changedetection.io
Update html_tools.py comment to trigger test
rodzic
0e66cb072e
commit
889fdbbcff
|
@ -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.
|
||||
|
|
Ładowanie…
Reference in New Issue