diff options
author | Alexander Krotov <ilabdsf@gmail.com> | 2018-08-12 21:20:07 +0300 |
---|---|---|
committer | Alexander Krotov <ilabdsf@gmail.com> | 2018-08-12 21:20:07 +0300 |
commit | 81131ef5d19052948b4ac12a727e2ceef8a98186 (patch) | |
tree | 5f83eb066804ace386fb64803ac2637b8351239b /test/Tests | |
parent | acf6df1aef337f71612f6d05c8aaa526255b3942 (diff) | |
download | pandoc-81131ef5d19052948b4ac12a727e2ceef8a98186.tar.gz |
Muse reader: don't allow digits after closing marker in lightweight markup
This change makes reader more compatible with Emacs Muse
Diffstat (limited to 'test/Tests')
-rw-r--r-- | test/Tests/Readers/Muse.hs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Tests/Readers/Muse.hs b/test/Tests/Readers/Muse.hs index fe25e9c5d..1035fb5f1 100644 --- a/test/Tests/Readers/Muse.hs +++ b/test/Tests/Readers/Muse.hs @@ -74,6 +74,10 @@ tests = "Foo x*bar* baz" =?> para "Foo x*bar* baz" + , "Digit after closing *" =: + "Foo *bar*0 baz" =?> + para "Foo *bar*0 baz" + , "Emphasis tag" =: "<em>Foo bar</em>" =?> para (emph . spcSep $ ["Foo", "bar"]) |