aboutsummaryrefslogtreecommitdiff
path: root/tests/writer.html
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-08-31 12:55:47 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2014-08-31 12:55:47 -0700
commit598d3ee23b708634ac8526cdc03291f17803eb2a (patch)
tree6e036cc26c8bf3e5d58982d21dc6bbfa72ce8c9d /tests/writer.html
parent6cf9ab78554cdf0a854a26a9386265653c7519ad (diff)
downloadpandoc-598d3ee23b708634ac8526cdc03291f17803eb2a.tar.gz
Markdown reader: better handling of paragraph in div.
Previously text that ended a div would be parsed as Plain unless there was a blank line before the closing div tag. Test case: <div class="first"> This is a paragraph. This is another paragraph. </div> Closes #1591.
Diffstat (limited to 'tests/writer.html')
-rw-r--r--tests/writer.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/writer.html b/tests/writer.html
index 8b0877f33..b56e81292 100644
--- a/tests/writer.html
+++ b/tests/writer.html
@@ -328,7 +328,7 @@ foo
<div>
<div>
<div>
-foo
+<p>foo</p>
</div>
</div>
<div>
@@ -349,7 +349,7 @@ And this is <strong>strong</strong>
<script type="text/javascript">document.write('This *should not* be interpreted as markdown');</script>
<p>Here’s a simple block:</p>
<div>
-foo
+<p>foo</p>
</div>
<p>This should be a code block, though:</p>
<pre><code>&lt;div&gt;