aboutsummaryrefslogtreecommitdiffstats
path: root/tests/extensions
diff options
context:
space:
mode:
authorWaylan Limberg <waylan.limberg@icloud.com>2014-11-19 21:00:36 -0500
committerWaylan Limberg <waylan.limberg@icloud.com>2014-11-19 21:00:36 -0500
commitc2498b92236afceae77f51343086c6a8d4350f4a (patch)
tree60710f46d9449af778a2e8759f5aba7bc157e0f1 /tests/extensions
parented0ff55087235db8a3f02e10d6a1ed603ef4c476 (diff)
parent5d913699758a5815bc114a9e8c08db61eb206a5d (diff)
downloadmarkdown-c2498b92236afceae77f51343086c6a8d4350f4a.tar.gz
markdown-c2498b92236afceae77f51343086c6a8d4350f4a.tar.bz2
markdown-c2498b92236afceae77f51343086c6a8d4350f4a.zip
Merge pull request #371 from facelessuser/master
Issue #368: Fix Markdown in raw HTML stops working
Diffstat (limited to 'tests/extensions')
-rw-r--r--tests/extensions/extra/raw-html.html13
-rw-r--r--tests/extensions/extra/raw-html.txt14
2 files changed, 24 insertions, 3 deletions
diff --git a/tests/extensions/extra/raw-html.html b/tests/extensions/extra/raw-html.html
index f8874c3..7acb2ee 100644
--- a/tests/extensions/extra/raw-html.html
+++ b/tests/extensions/extra/raw-html.html
@@ -27,11 +27,18 @@ Note: Subelements are not required to have tail text.</div>
Raw html blocks may also be nested.
</div>
-
-
</div>
<p>This text is after the markdown in html.</p>
<div name="issue308">
<p><span>1</span>
<span>2</span></p>
-</div> \ No newline at end of file
+</div>
+<div name="issue368">
+<p>Markdown is <em>active</em> here.</p>
+<div name="RawHtml">
+Raw html blocks may also be nested.
+</div>
+
+<p>Markdown is <em>still</em> active here.</p>
+</div>
+<p>Markdown is <em>active again</em> here.</p> \ No newline at end of file
diff --git a/tests/extensions/extra/raw-html.txt b/tests/extensions/extra/raw-html.txt
index 0a82ccf..72f530b 100644
--- a/tests/extensions/extra/raw-html.txt
+++ b/tests/extensions/extra/raw-html.txt
@@ -51,3 +51,17 @@ This text is after the markdown in html.
<span>2</span>
</div>
+
+<div markdown="1" name="issue368">
+
+Markdown is *active* here.
+
+<div name="RawHtml">
+Raw html blocks may also be nested.
+</div>
+
+Markdown is *still* active here.
+
+</div>
+
+Markdown is *active again* here.