diff options
author | Alexander Krotov <ilabdsf@gmail.com> | 2018-05-30 02:25:30 +0300 |
---|---|---|
committer | Alexander Krotov <ilabdsf@gmail.com> | 2018-05-30 02:29:43 +0300 |
commit | 1100bfc0e67954760c0c1767018404bf0129dd01 (patch) | |
tree | 9d7211b8206690daca2c16da568db843106ca6f8 /test/Tests/Readers | |
parent | bdf8c01f2c0e3d3cd549c19b118c332cd48eeeb0 (diff) | |
download | pandoc-1100bfc0e67954760c0c1767018404bf0129dd01.tar.gz |
Muse reader: parse image URLs without "guard" and "takeExtension"
Diffstat (limited to 'test/Tests/Readers')
-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 ddfedbff4..6b4e0fdbd 100644 --- a/test/Tests/Readers/Muse.hs +++ b/test/Tests/Readers/Muse.hs @@ -194,6 +194,9 @@ tests = , "Image" =: "[[image.jpg]]" =?> para (image "image.jpg" "" mempty) + , "Closing bracket is not allowed in image filename" =: + "[[foo]bar.jpg]]" =?> + para (text "[[foo]bar.jpg]]") , "Image with description" =: "[[image.jpg][Image]]" =?> para (image "image.jpg" "" (text "Image")) |