diff options
Diffstat (limited to 'tests/safe_mode')
-rw-r--r-- | tests/safe_mode/script_tags.html | 5 | ||||
-rw-r--r-- | tests/safe_mode/unsafe_urls.html | 18 |
2 files changed, 8 insertions, 15 deletions
diff --git a/tests/safe_mode/script_tags.html b/tests/safe_mode/script_tags.html index 940329f..df63ffc 100644 --- a/tests/safe_mode/script_tags.html +++ b/tests/safe_mode/script_tags.html @@ -9,8 +9,7 @@ alert("Hello world!") </script></p> <p>Now with some weirdness</p> -<p> -<code><script <!-- +<p><code><script <!-- alert("Hello world!") </script <></code> `</p> <p>Try another way.</p> @@ -26,4 +25,4 @@ alert("Hello world!") </script <> -</p> +</p>
\ No newline at end of file diff --git a/tests/safe_mode/unsafe_urls.html b/tests/safe_mode/unsafe_urls.html index 6dabe64..e617f35 100644 --- a/tests/safe_mode/unsafe_urls.html +++ b/tests/safe_mode/unsafe_urls.html @@ -1,5 +1,5 @@ <p>These links should be unsafe and not allowed in safe_mode</p> -<p> +<p><a href="">link</a> <a href="">link</a> <a href="">link</a> <a href="">link</a> @@ -9,18 +9,12 @@ <a href="">link</a> <a href="">link</a> <a href="">link</a> -<a href="">link</a> -<a href="">link</a> -</p> -<p> -<img alt="img" src="" /> +<a href="">link</a></p> +<p><img alt="img" src="" /> <a href="">ref</a> -<img alt="imgref" src="" /> -</p> +<img alt="imgref" src="" /></p> <p>These should work regardless:</p> -<p> -<a href="relative/url.html">relative</a> +<p><a href="relative/url.html">relative</a> <a href="mailto:foo@bar.com">email</a> <a href="news:some.news.group.com">news scheme</a> -<a href="http://example.com">http link</a> -</p> +<a href="http://example.com">http link</a></p>
\ No newline at end of file |