aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorArtem Yunusov <nedrlab@gmail.com>2008-07-16 22:25:36 +0500
committerArtem Yunusov <nedrlab@gmail.com>2008-07-16 22:25:36 +0500
commit3986ba1df4f404967732add30bf09f0c61bc181f (patch)
tree4f1af24cba0c862b433d4658e5805f63482485d6 /tests
parentd1134b2c547c471d85b443404904461941d27d71 (diff)
downloadmarkdown-3986ba1df4f404967732add30bf09f0c61bc181f.tar.gz
markdown-3986ba1df4f404967732add30bf09f0c61bc181f.tar.bz2
markdown-3986ba1df4f404967732add30bf09f0c61bc181f.zip
Aggregated regexp for both backtick and double backtick.
Diffstat (limited to 'tests')
-rw-r--r--tests/safe_mode/script_tags.html4
-rw-r--r--tests/safe_mode/script_tags.txt2
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/safe_mode/script_tags.html b/tests/safe_mode/script_tags.html
index 4c669dd..940329f 100644
--- a/tests/safe_mode/script_tags.html
+++ b/tests/safe_mode/script_tags.html
@@ -12,7 +12,7 @@ alert(&quot;Hello world!&quot;)
<p>
<code>&lt;script &lt;!--
alert("Hello world!")
-&lt;/script &lt;&gt;</code>`</p>
+&lt;/script &lt;&gt;</code> `</p>
<p>Try another way.</p>
<p>&lt;script &lt;!--
alert(&quot;Hello world!&quot;)
@@ -26,4 +26,4 @@ alert(&quot;Hello world!&quot;)
&lt;/script &lt;&gt;
-</p> \ No newline at end of file
+</p>
diff --git a/tests/safe_mode/script_tags.txt b/tests/safe_mode/script_tags.txt
index 55c60e9..44041c2 100644
--- a/tests/safe_mode/script_tags.txt
+++ b/tests/safe_mode/script_tags.txt
@@ -16,7 +16,7 @@ Now with some weirdness
``<script <!--
alert("Hello world!")
-</script <>```
+</script <>`` `
Try another way.