diff --git a/src/zimscraperlib/rewriting/html.py b/src/zimscraperlib/rewriting/html.py index 001ef84..25594e3 100644 --- a/src/zimscraperlib/rewriting/html.py +++ b/src/zimscraperlib/rewriting/html.py @@ -54,55 +54,55 @@ def get_attr_value_from( return default -# The attribute wombat reads a script's pre-rewrite src back out of. +# The attributes wombat asks for a pre-rewrite value of. # -# wombat already overrides Element.prototype.getAttribute and, for a ', @@ -1631,7 +1660,9 @@ def test_rewrite_meta_http_equiv_redirect_rule( ), ], ) -def test_script_keeps_its_original_src(input_str: str, expected_str: str): +def test_rewritten_url_attributes_keep_their_original( + input_str: str, expected_str: str +): """A rewritten