summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Flatz2024-04-29 08:36:09 +0200
committerDavid Flatz2024-04-29 08:36:09 +0200
commit1750fccd215ed2606053fdc804420469b42758c1 (patch)
tree84c09bb9caceade5f69ac014816b7a7f92e3a3d4
parent243879bb340b08b9cc0eee8d988d8025980a390c (diff)
downloaditools-1750fccd215ed2606053fdc804420469b42758c1.tar.gz
itools-1750fccd215ed2606053fdc804420469b42758c1.tar.bz2
itools-1750fccd215ed2606053fdc804420469b42758c1.zip
Improve test for unquoted value since we only pass through absolute urls with http(s) scheme
-rwxr-xr-xtest/it_html.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/it_html.t b/test/it_html.t
index 80753db..4fef25d 100755
--- a/test/it_html.t
+++ b/test/it_html.t
@@ -266,8 +266,8 @@ is(
);
is(
- it_html::sanitize("<a href=index.html>foo</a>"),
- '<a href="index.html">foo</a>',
+ it_html::sanitize("<a href=http://search.ch/>foo</a>"),
+ '<a href="http://search.ch/">foo</a>',
'TODO it_html::sanitize handle anchors with unquoted attribute value'
);