diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-02-23 15:40:06 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-02-25 17:33:54 -0800 |
commit | ba05e1ea02d5227796f12dea2404285300021de6 (patch) | |
tree | 6ee0d7372dcfcd55c67c52b590b32cb1c12701f0 /test/writer.icml | |
parent | 38c028bd50fc3781e69370864f163f8d33fd481f (diff) | |
download | pandoc-ba05e1ea02d5227796f12dea2404285300021de6.tar.gz |
Shared.compactify: Avoid mixed lists.
This improves on the original fix to #5285 by preventing
other mixed lists (lists with a mix of Plain and Para
elements) that were allowed given the original fix.
Diffstat (limited to 'test/writer.icml')
-rw-r--r-- | test/writer.icml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/writer.icml b/test/writer.icml index 5fdf450fb..4c1a2b950 100644 --- a/test/writer.icml +++ b/test/writer.icml @@ -400,7 +400,7 @@ <BasedOn type="object">$ID/NormalParagraphStyle</BasedOn> </Properties> </ParagraphStyle> - <ParagraphStyle Self="ParagraphStyle/NumList > first > beginsWith-2" Name="NumList > first > beginsWith-2" NumberingExpression="^#.^t" NumberingLevel="1" BulletsAndNumberingListType="NumberedList" LeftIndent="0"> + <ParagraphStyle Self="ParagraphStyle/NumList > first > beginsWith-2 > Paragraph" Name="NumList > first > beginsWith-2 > Paragraph" NumberingExpression="^#.^t" NumberingLevel="1" BulletsAndNumberingListType="NumberedList" LeftIndent="0"> <Properties> <BasedOn type="object">$ID/NormalParagraphStyle</BasedOn> </Properties> @@ -1105,7 +1105,7 @@ These should not be escaped: \$ \\ \> \[ \{</Content> </CharacterStyleRange> </ParagraphStyleRange> <Br /> -<ParagraphStyleRange NumberingStartAt="2" AppliedParagraphStyle="ParagraphStyle/NumList > first > beginsWith-2" NumberingContinue="false"> +<ParagraphStyleRange NumberingStartAt="2" AppliedParagraphStyle="ParagraphStyle/NumList > first > beginsWith-2 > Paragraph" NumberingContinue="false"> <CharacterStyleRange AppliedCharacterStyle="$ID/NormalCharacterStyle"> <Content>begins with 2</Content> </CharacterStyleRange> |