From 28caf01c8082dbed3a5ca87b070ffe5657514f01 Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Fri, 12 Feb 2010 16:24:15 -0500 Subject: Moved test dir back out of markdown lib. We don't need to install the tests in everyones site-packages. We just need to distrubute them in the tarball for people to run before installing etc. --- tests/safe_mode/script_tags.html | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 tests/safe_mode/script_tags.html (limited to 'tests/safe_mode/script_tags.html') diff --git a/tests/safe_mode/script_tags.html b/tests/safe_mode/script_tags.html new file mode 100644 index 0000000..df63ffc --- /dev/null +++ b/tests/safe_mode/script_tags.html @@ -0,0 +1,28 @@ +

This should be stripped/escaped in safe_mode.

+

<script> +alert("Hello world!") +</script>

+

With blank lines.

+

<script> + +alert("Hello world!") + +</script>

+

Now with some weirdness

+

<script <!-- +alert("Hello world!") +</script <> `

+

Try another way.

+

<script <!-- +alert("Hello world!") +</script <> + +This time with blank lines. + +<script <!-- + +alert("Hello world!") + +</script <> + +

\ No newline at end of file -- cgit v1.2.3