diff options
| author | John MacFarlane <jgm@berkeley.edu> | 2014-08-31 12:55:47 -0700 |
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2014-08-31 12:55:47 -0700 |
| commit | 598d3ee23b708634ac8526cdc03291f17803eb2a (patch) | |
| tree | 6e036cc26c8bf3e5d58982d21dc6bbfa72ce8c9d /tests/writer.html | |
| parent | 6cf9ab78554cdf0a854a26a9386265653c7519ad (diff) | |
| download | pandoc-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.html | 4 |
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><div> |
