diff options
author | Waylan Limberg <waylan@gmail.com> | 2012-01-18 21:29:19 -0500 |
---|---|---|
committer | Waylan Limberg <waylan@gmail.com> | 2012-01-18 21:29:19 -0500 |
commit | c33dbafc2663e2d495c53ab0bf26f5f6c4087863 (patch) | |
tree | a00f8f59e2774438cf66125b362016a19ad1393e /tests/safe_mode | |
parent | 77c587e1d16934608fc91aa34894836ef0d03a8b (diff) | |
parent | 69b365d07c7fabb206d9094398de2162cbcf6ba3 (diff) | |
download | markdown-c33dbafc2663e2d495c53ab0bf26f5f6c4087863.tar.gz markdown-c33dbafc2663e2d495c53ab0bf26f5f6c4087863.tar.bz2 markdown-c33dbafc2663e2d495c53ab0bf26f5f6c4087863.zip |
Merge branch 'master' of git://github.com/fiesta/Python-Markdown into fiesta
Conflicts:
markdown/inlinepatterns.py
Diffstat (limited to 'tests/safe_mode')
-rw-r--r-- | tests/safe_mode/inline-html-simple.html | 11 | ||||
-rw-r--r-- | tests/safe_mode/script_tags.html | 26 |
2 files changed, 16 insertions, 21 deletions
diff --git a/tests/safe_mode/inline-html-simple.html b/tests/safe_mode/inline-html-simple.html index ad19a77..aca9af0 100644 --- a/tests/safe_mode/inline-html-simple.html +++ b/tests/safe_mode/inline-html-simple.html @@ -29,7 +29,8 @@ Blah <pre><code><!-- Comment --> </code></pre> <p>Just plain comment, with trailing spaces on the line:</p> -<p><!-- foo --></p> +<p><!-- foo --> <br /> +</p> <p>Code:</p> <pre><code><hr /> </code></pre> @@ -37,9 +38,11 @@ Blah <p><hr></p> <p><hr/></p> <p><hr /></p> -<p><hr></p> -<p><hr/></p> -<p><hr /></p> +<p><hr> <br /> +</p> +<p><hr/><br /> +</p> +<p><hr /> </p> <p><hr class="foo" id="bar" /></p> <p><hr class="foo" id="bar"/></p> <p><hr class="foo" id="bar" ></p>
\ No newline at end of file diff --git a/tests/safe_mode/script_tags.html b/tests/safe_mode/script_tags.html index df63ffc..f3b059d 100644 --- a/tests/safe_mode/script_tags.html +++ b/tests/safe_mode/script_tags.html @@ -1,13 +1,11 @@ <p>This should be stripped/escaped in safe_mode.</p> <p><script> -alert("Hello world!") +alert("Hello world!") </script></p> <p>With blank lines.</p> -<p><script> - -alert("Hello world!") - -</script></p> +<p><script></p> +<p>alert("Hello world!")</p> +<p></script></p> <p>Now with some weirdness</p> <p><code><script <!-- alert("Hello world!") @@ -15,14 +13,8 @@ alert("Hello world!") <p>Try another way.</p> <p><script <!-- alert("Hello world!") -</script <> - -This time with blank lines. - -<script <!-- - -alert("Hello world!") - -</script <> - -</p>
\ No newline at end of file +</script <></p> +<p>This time with blank lines.</p> +<p><script <!--</p> +<p>alert("Hello world!")</p> +<p></script <></p>
\ No newline at end of file |