aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
diff options
context:
space:
mode:
authormb21 <mb21@users.noreply.github.com>2018-06-01 15:35:14 +0200
committermb21 <mb21@users.noreply.github.com>2018-06-01 15:36:36 +0200
commit0fc7d38544346779051c2e25fb1d6f9c98a83a00 (patch)
tree1fad89ba65f671e555eacd7199b737e4ccac8786 /src/Text/Pandoc
parent5fbc981fc24d24652de3061353f09d1912928fba (diff)
downloadpandoc-0fc7d38544346779051c2e25fb1d6f9c98a83a00.tar.gz
Muse reader: get rid of non-exhaustive pattern match warning
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r--src/Text/Pandoc/Readers/Muse.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/Muse.hs b/src/Text/Pandoc/Readers/Muse.hs
index 6ff84bff1..4bb34af7e 100644
--- a/src/Text/Pandoc/Readers/Muse.hs
+++ b/src/Text/Pandoc/Readers/Muse.hs
@@ -974,7 +974,7 @@ image = try $ do
Just 'r' -> ["align-right"]
Just 'l' -> ["align-left"]
Just 'f' -> []
- Nothing -> []
+ _ -> []
return $ B.imageWith ("", alignClass, widthAttr) (url ++ ext) mempty <$> fromMaybe (return mempty) content
where -- Taken from muse-image-regexp defined in Emacs Muse file lisp/muse-regexps.el
imageExtensions = [".eps", ".gif", ".jpg", ".jpeg", ".pbm", ".png", ".tiff", ".xbm", ".xpm"]