diff options
author | Alexander Krotov <ilabdsf@gmail.com> | 2018-02-24 02:37:35 +0300 |
---|---|---|
committer | Alexander Krotov <ilabdsf@gmail.com> | 2018-02-24 02:38:10 +0300 |
commit | 39dd7c794bc881acd2030c07ddfb7b34842f19a3 (patch) | |
tree | 9d515a309452ca4014d2efed67170e098766afea /test | |
parent | 6de2c0710f2586e4925690583df07d50ce167725 (diff) | |
download | pandoc-39dd7c794bc881acd2030c07ddfb7b34842f19a3.tar.gz |
Muse reader: allow single colon in definition list term
Diffstat (limited to 'test')
-rw-r--r-- | test/Tests/Readers/Muse.hs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Tests/Readers/Muse.hs b/test/Tests/Readers/Muse.hs index c0ebf33cc..d951fca49 100644 --- a/test/Tests/Readers/Muse.hs +++ b/test/Tests/Readers/Muse.hs @@ -1073,6 +1073,9 @@ tests = definitionList [ ("Bar", [ para "baz" ]) ] , "One-line definition list" =: " foo :: bar" =?> definitionList [ ("foo", [ para "bar" ]) ] + , "Definition list term may include single colon" =: + " foo:bar :: baz" =?> + definitionList [ ("foo:bar", [ para "baz" ]) ] , "Definition list term with emphasis" =: " *Foo* :: bar\n" =?> definitionList [ (emph "Foo", [ para "bar" ]) ] , "Definition list term with :: inside code" =: " foo <code> :: </code> :: bar <code> :: </code> baz\n" =?> |