aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorryneeverett <ryneeverett@gmail.com>2014-05-21 16:01:59 -0400
committerryneeverett <ryneeverett@gmail.com>2014-05-21 16:01:59 -0400
commita47899fd0f8f6086a3682abbbbbd75b60928d8c7 (patch)
treea82f139b79fd833fa73d58f40c597235fb689801 /tests
parent85be15973e754da6cdee855968f9464676520667 (diff)
downloadmarkdown-a47899fd0f8f6086a3682abbbbbd75b60928d8c7.tar.gz
markdown-a47899fd0f8f6086a3682abbbbbd75b60928d8c7.tar.bz2
markdown-a47899fd0f8f6086a3682abbbbbd75b60928d8c7.zip
Fix issue308 and fix (unrelated) failure to break out of nest loop.
Diffstat (limited to 'tests')
-rw-r--r--tests/extensions/extra/raw-html.html8
-rw-r--r--tests/extensions/extra/raw-html.txt7
2 files changed, 14 insertions, 1 deletions
diff --git a/tests/extensions/extra/raw-html.html b/tests/extensions/extra/raw-html.html
index 897ad24..f8874c3 100644
--- a/tests/extensions/extra/raw-html.html
+++ b/tests/extensions/extra/raw-html.html
@@ -27,5 +27,11 @@ 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> \ No newline at end of file
+<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
diff --git a/tests/extensions/extra/raw-html.txt b/tests/extensions/extra/raw-html.txt
index e906910..0a82ccf 100644
--- a/tests/extensions/extra/raw-html.txt
+++ b/tests/extensions/extra/raw-html.txt
@@ -44,3 +44,10 @@ Raw html blocks may also be nested.
</div>
This text is after the markdown in html.
+
+<div markdown="1" name="issue308">
+
+<span>1</span>
+<span>2</span>
+
+</div>