From 889fdbbcffe2b4b19b5287c51397a4a89cf3814d Mon Sep 17 00:00:00 2001 From: Constantin Hong Date: Wed, 11 Sep 2024 04:38:50 +0900 Subject: [PATCH] Update html_tools.py comment to trigger test --- changedetectionio/html_tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changedetectionio/html_tools.py b/changedetectionio/html_tools.py index ae13e636..6ff4c4e6 100644 --- a/changedetectionio/html_tools.py +++ b/changedetectionio/html_tools.py @@ -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.