Muse reader: get rid of non-exhaustive pattern match warning
This commit is contained in:
parent
5fbc981fc2
commit
0fc7d38544
1 changed files with 1 additions and 1 deletions
|
@ -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"]
|
||||
|
|
Loading…
Add table
Reference in a new issue