Update html_tools.py comment to trigger test

pull/2351/head
Constantin Hong 2024-09-11 04:38:50 +09:00 zatwierdzone przez GitHub
rodzic 0e66cb072e
commit 889fdbbcff
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -116,7 +116,7 @@ def forest_transplanting(root):
""" """
The html parser of libxml2 violates DOM rules. It means there can be 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 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 https://gitlab.gnome.org/GNOME/libxml2/-/issues/716 This will emulate
xpath1 of html of libxml2 like '/html[2]/*'. To make this function work, 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.