diff options
author | Waylan Limberg <waylan@gmail.com> | 2008-03-19 03:47:16 +0000 |
---|---|---|
committer | Waylan Limberg <waylan@gmail.com> | 2008-03-19 03:47:16 +0000 |
commit | a190c3941a7bed4274fe08e92ba4ce368c1c837f (patch) | |
tree | e936f95bde7b0b06d0422f16afd125bb290cb130 /tests/safe_mode/script_tags.html | |
parent | 2db5d1c8e469d2943a6a851bc0ff3ede070e448b (diff) | |
download | markdown-a190c3941a7bed4274fe08e92ba4ce368c1c837f.tar.gz markdown-a190c3941a7bed4274fe08e92ba4ce368c1c837f.tar.bz2 markdown-a190c3941a7bed4274fe08e92ba4ce368c1c837f.zip |
Added safe_mode to testing framework and soem tests.
Diffstat (limited to 'tests/safe_mode/script_tags.html')
-rw-r--r-- | tests/safe_mode/script_tags.html | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/tests/safe_mode/script_tags.html b/tests/safe_mode/script_tags.html new file mode 100644 index 0000000..cb2abfa --- /dev/null +++ b/tests/safe_mode/script_tags.html @@ -0,0 +1,33 @@ +<p>This should be stripped/escaped in safe_mode. +</p> +<script> +alert("Hello world!") +</script> + +<p>With blank lines. +</p> +<script> + +alert("Hello world!") + +</script> + +<p>Now with some weirdness +</p> +<p><code><script <!-- +alert("Hello world!") +</script <></code>` +</p> +<p>Try another way. +</p> +<script <!-- +alert("Hello world!") +</script <> + +This time with blank lines. + +<script <!-- + +alert("Hello world!") + +</script <>
\ No newline at end of file |