From 1100bfc0e67954760c0c1767018404bf0129dd01 Mon Sep 17 00:00:00 2001 From: Alexander Krotov Date: Wed, 30 May 2018 02:25:30 +0300 Subject: Muse reader: parse image URLs without "guard" and "takeExtension" --- test/Tests/Readers/Muse.hs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/Tests/Readers') 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")) -- cgit v1.2.3