diff options
Diffstat (limited to 'tests/safe_mode/script_tags.html')
-rw-r--r-- | tests/safe_mode/script_tags.html | 34 |
1 files changed, 15 insertions, 19 deletions
diff --git a/tests/safe_mode/script_tags.html b/tests/safe_mode/script_tags.html index cb2abfa..940329f 100644 --- a/tests/safe_mode/script_tags.html +++ b/tests/safe_mode/script_tags.html @@ -1,26 +1,20 @@ -<p>This should be stripped/escaped in safe_mode. -</p> -<script> +<p>This should be stripped/escaped in safe_mode.</p> +<p><script> alert("Hello world!") -</script> - -<p>With blank lines. -</p> -<script> +</script></p> +<p>With blank lines.</p> +<p><script> alert("Hello world!") -</script> - -<p>Now with some weirdness -</p> -<p><code><script <!-- +</script></p> +<p>Now with some weirdness</p> +<p> +<code><script <!-- alert("Hello world!") -</script <></code>` -</p> -<p>Try another way. -</p> -<script <!-- +</script <></code> `</p> +<p>Try another way.</p> +<p><script <!-- alert("Hello world!") </script <> @@ -30,4 +24,6 @@ This time with blank lines. alert("Hello world!") -</script <>
\ No newline at end of file +</script <> + +</p> |