From a1c636a05557b1faa207828c9e7102391bdde5c9 Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Wed, 3 Sep 2008 13:30:04 -0400 Subject: Replaced indentation with linebreaks only. At least its more consistant - and it better matches other markdown implementations. Also updated tests. --- tests/safe_mode/script_tags.html | 5 ++--- tests/safe_mode/unsafe_urls.html | 18 ++++++------------ 2 files changed, 8 insertions(+), 15 deletions(-) (limited to 'tests/safe_mode') 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>

Now with some weirdness

-

-<script <!-- +

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

Try another way.

@@ -26,4 +25,4 @@ alert("Hello world!") </script <> -

+

\ 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 @@

These links should be unsafe and not allowed in safe_mode

-

+

link link link link @@ -9,18 +9,12 @@ link link link -link -link -

-

-img +link

+

img ref -imgref -

+imgref

These should work regardless:

-

-relative +

relative email news scheme -http link -

+http link

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