aboutsummaryrefslogtreecommitdiffstats
path: root/tests/safe_mode/script_tags.html
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2012-01-19 06:30:23 -0500
committerWaylan Limberg <waylan@gmail.com>2012-01-19 06:30:23 -0500
commit0735b01dd9ab63417b1e9ee204d6090257cb8dbe (patch)
treec7f97608ac9baceb944befcc27990e903b4bb93d /tests/safe_mode/script_tags.html
parente3c5efd182d9a80f34e3b9a770eed63c1d62b2f9 (diff)
downloadmarkdown-0735b01dd9ab63417b1e9ee204d6090257cb8dbe.tar.gz
markdown-0735b01dd9ab63417b1e9ee204d6090257cb8dbe.tar.bz2
markdown-0735b01dd9ab63417b1e9ee204d6090257cb8dbe.zip
Inline html is now escaped by the searializer.
Final fix to issue introduced in fix for #59. Weird stuff inside angle brackets now also work in safe_mode='escape'. We just did the same thing as with block html, let the (x)html searializer do the escaping. Tests updated including the standalone test moved to match the non-escape cases.
Diffstat (limited to 'tests/safe_mode/script_tags.html')
-rw-r--r--tests/safe_mode/script_tags.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/safe_mode/script_tags.html b/tests/safe_mode/script_tags.html
index f3b059d..6c1501b 100644
--- a/tests/safe_mode/script_tags.html
+++ b/tests/safe_mode/script_tags.html
@@ -12,7 +12,7 @@ alert("Hello world!")
&lt;/script &lt;&gt;</code> `</p>
<p>Try another way.</p>
<p>&lt;script &lt;!--
-alert(&quot;Hello world!&quot;)
+alert("Hello world!")
&lt;/script &lt;&gt;</p>
<p>This time with blank lines.</p>
<p>&lt;script &lt;!--</p>