diff options
author | Waylan Limberg <waylan@gmail.com> | 2008-09-03 13:30:04 -0400 |
---|---|---|
committer | Waylan Limberg <waylan@gmail.com> | 2008-09-03 13:46:52 -0400 |
commit | a1c636a05557b1faa207828c9e7102391bdde5c9 (patch) | |
tree | e223f4a97d811ce956073be7647695fbcc3e6f4c /tests/safe_mode | |
parent | a4c80246770b87ca3d2cce5b5184901fd2495a7d (diff) | |
download | markdown-a1c636a05557b1faa207828c9e7102391bdde5c9.tar.gz markdown-a1c636a05557b1faa207828c9e7102391bdde5c9.tar.bz2 markdown-a1c636a05557b1faa207828c9e7102391bdde5c9.zip |
Replaced indentation with linebreaks only. At least its more consistant - and it better matches other markdown implementations. Also updated tests.
Diffstat (limited to 'tests/safe_mode')
-rw-r--r-- | tests/safe_mode/script_tags.html | 5 | ||||
-rw-r--r-- | tests/safe_mode/unsafe_urls.html | 18 |
2 files changed, 8 insertions, 15 deletions
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></p> <p>Now with some weirdness</p> -<p> -<code><script <!-- +<p><code><script <!-- alert("Hello world!") </script <></code> `</p> <p>Try another way.</p> @@ -26,4 +25,4 @@ alert("Hello world!") </script <> -</p> +</p>
\ 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 @@ <p>These links should be unsafe and not allowed in safe_mode</p> -<p> +<p><a href="">link</a> <a href="">link</a> <a href="">link</a> <a href="">link</a> @@ -9,18 +9,12 @@ <a href="">link</a> <a href="">link</a> <a href="">link</a> -<a href="">link</a> -<a href="">link</a> -</p> -<p> -<img alt="img" src="" /> +<a href="">link</a></p> +<p><img alt="img" src="" /> <a href="">ref</a> -<img alt="imgref" src="" /> -</p> +<img alt="imgref" src="" /></p> <p>These should work regardless:</p> -<p> -<a href="relative/url.html">relative</a> +<p><a href="relative/url.html">relative</a> <a href="mailto:foo@bar.com">email</a> <a href="news:some.news.group.com">news scheme</a> -<a href="http://example.com">http link</a> -</p> +<a href="http://example.com">http link</a></p>
\ No newline at end of file |