From 912470fb0d3bb4ba674f60025f6df90c0a2f53d6 Mon Sep 17 00:00:00 2001 From: Constantin Hong Date: Sat, 14 Sep 2024 04:09:59 +0900 Subject: [PATCH] html_tools/docs: Add string to trigger test --- changedetectionio/html_tools.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/changedetectionio/html_tools.py b/changedetectionio/html_tools.py index d4d92046..83277d73 100644 --- a/changedetectionio/html_tools.py +++ b/changedetectionio/html_tools.py @@ -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