From a316ac49a6934221b24ec58a6a7dc4c3b30ae1e8 Mon Sep 17 00:00:00 2001 From: Artem Yunusov Date: Mon, 14 Jul 2008 16:17:33 +0500 Subject: A lot of bug fixes. Handlig attributes added, new hr processing. Reformatted test suite for ElementTree output. --- tests/safe_mode/script_tags.html | 34 +++++++++++++++------------------- 1 file changed, 15 insertions(+), 19 deletions(-) (limited to 'tests/safe_mode/script_tags.html') diff --git a/tests/safe_mode/script_tags.html b/tests/safe_mode/script_tags.html index cb2abfa..4c669dd 100644 --- a/tests/safe_mode/script_tags.html +++ b/tests/safe_mode/script_tags.html @@ -1,26 +1,20 @@ -

This should be stripped/escaped in safe_mode. -

-<script> +

This should be stripped/escaped in safe_mode.

+

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

With blank lines. -

-<script> +</script>

+

With blank lines.

+

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

Now with some weirdness -

-

<script <!-- +</script>

+

Now with some weirdness

+

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

-

Try another way. -

-<script <!-- +</script <>
`

+

Try another way.

+

<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 <> + +

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