diff options
author | David Flatz | 2024-04-29 08:36:09 +0200 |
---|---|---|
committer | David Flatz | 2024-04-29 08:36:09 +0200 |
commit | 1750fccd215ed2606053fdc804420469b42758c1 (patch) | |
tree | 84c09bb9caceade5f69ac014816b7a7f92e3a3d4 /test | |
parent | 243879bb340b08b9cc0eee8d988d8025980a390c (diff) | |
download | itools-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
Diffstat (limited to 'test')
-rwxr-xr-x | test/it_html.t | 4 |
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' ); |