diff options
author | Alexander Krotov <ilabdsf@gmail.com> | 2017-11-21 19:19:49 +0300 |
---|---|---|
committer | Alexander Krotov <ilabdsf@gmail.com> | 2017-11-21 19:53:55 +0300 |
commit | 6c17117ef2e0ef6082ab55cf67256e59ea93ddf8 (patch) | |
tree | f52186da86653252271fd430f6db637f4398bb53 /test | |
parent | 1c85a158f346e56e6e2cd8da79eca379fc4ce684 (diff) | |
download | pandoc-6c17117ef2e0ef6082ab55cf67256e59ea93ddf8.tar.gz |
Muse reader: add inline <literal> support
Diffstat (limited to 'test')
-rw-r--r-- | test/Tests/Readers/Muse.hs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/Tests/Readers/Muse.hs b/test/Tests/Readers/Muse.hs index e260e4bea..0202dfb6d 100644 --- a/test/Tests/Readers/Muse.hs +++ b/test/Tests/Readers/Muse.hs @@ -149,6 +149,15 @@ tests = , "No implicit links" =: "http://example.org/index.php?action=view&id=1" =?> para "http://example.org/index.php?action=view&id=1" ] + + , testGroup "Literal" + [ test emacsMuse "Inline literal" + ("Foo<literal style=\"html\">lit</literal>bar" =?> + para (text "Foo" <> rawInline "html" "lit" <> text "bar")) + , "No literal in Text::Amuse" =: + "Foo<literal style=\"html\">lit</literal>bar" =?> + para "Foo<literal style=\"html\">lit</literal>bar" + ] ] , testGroup "Blocks" |