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.icml | |
parent | 6cf9ab78554cdf0a854a26a9386265653c7519ad (diff) |
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.icml')
-rw-r--r-- | tests/writer.icml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/writer.icml b/tests/writer.icml index aa2007bfc..8922da7ed 100644 --- a/tests/writer.icml +++ b/tests/writer.icml @@ -1374,7 +1374,7 @@ These should not be escaped: \$ \\ \> \[ \{</Content> <Content>And nested without indentation:</Content> </CharacterStyleRange><Br /> </ParagraphStyleRange> -<ParagraphStyleRange AppliedParagraphStyle=""> +<ParagraphStyleRange AppliedParagraphStyle="ParagraphStyle/Paragraph"> <CharacterStyleRange AppliedCharacterStyle="$ID/NormalCharacterStyle"> <Content>foo</Content> </CharacterStyleRange><Br /> @@ -1455,7 +1455,7 @@ These should not be escaped: \$ \\ \> \[ \{</Content> <Content>Here’s a simple block:</Content> </CharacterStyleRange><Br /> </ParagraphStyleRange> -<ParagraphStyleRange AppliedParagraphStyle=""> +<ParagraphStyleRange AppliedParagraphStyle="ParagraphStyle/Paragraph"> <CharacterStyleRange AppliedCharacterStyle="$ID/NormalCharacterStyle"> <Content>foo</Content> </CharacterStyleRange><Br /> |