aboutsummaryrefslogtreecommitdiffstats
path: root/tests/extensions/extra/raw-html.txt
diff options
context:
space:
mode:
authorfacelessuser <faceless.shop@gmail.com>2014-11-19 18:21:40 -0700
committerfacelessuser <faceless.shop@gmail.com>2014-11-19 18:21:40 -0700
commit5d913699758a5815bc114a9e8c08db61eb206a5d (patch)
tree60710f46d9449af778a2e8759f5aba7bc157e0f1 /tests/extensions/extra/raw-html.txt
parent69fd8b4871f3c027b78072af88bb8a62202bc7e7 (diff)
downloadmarkdown-5d913699758a5815bc114a9e8c08db61eb206a5d.tar.gz
markdown-5d913699758a5815bc114a9e8c08db61eb206a5d.tar.bz2
markdown-5d913699758a5815bc114a9e8c08db61eb206a5d.zip
Issue #368: Fix Markdown in raw HTML stops working
Originally there was an infinite loop issue that was patched in issue #308. Unfortunately, it was fixed all the way. This fix patches the infinite loop fix to only add an offset to the `right_listindex` when it is in a infinite loop scenario.
Diffstat (limited to 'tests/extensions/extra/raw-html.txt')
-rw-r--r--tests/extensions/extra/raw-html.txt14
1 files changed, 14 insertions, 0 deletions
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.