diff options
author | Alexander Krotov <ilabdsf@gmail.com> | 2018-02-16 12:53:41 +0300 |
---|---|---|
committer | Alexander Krotov <ilabdsf@gmail.com> | 2018-02-16 12:53:41 +0300 |
commit | 0e4b8ae36296030569627baa537b9d71af621d20 (patch) | |
tree | 8f4ebc13de0b3143c0889512d424627098e591ec /test/Tests/Readers | |
parent | e6ff7f79861d3088f8cba2b22d86d9f75db73f6a (diff) | |
download | pandoc-0e4b8ae36296030569627baa537b9d71af621d20.tar.gz |
Muse reader: prioritize lists with roman numerals over alphabetical lists
This is to make sure "i." starts a roman numbered list,
instead of a list with letter "i" (followed by "j", "k", ...").
Diffstat (limited to 'test/Tests/Readers')
-rw-r--r-- | test/Tests/Readers/Muse.hs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/Tests/Readers/Muse.hs b/test/Tests/Readers/Muse.hs index faa21513a..2a350d252 100644 --- a/test/Tests/Readers/Muse.hs +++ b/test/Tests/Readers/Muse.hs @@ -767,6 +767,18 @@ tests = , para "Item2" , para "Item3" ] + , "Ordered list with roman numerals" =: + T.unlines + [ " i. First" + , " ii. Second" + , " iii. Third" + , " iv. Fourth" + ] =?> + orderedListWith (1, LowerRoman, Period) [ para "First" + , para "Second" + , para "Third" + , para "Fourth" + ] , "Bullet list with empty items" =: T.unlines [ " -" |