diff options
Diffstat (limited to 'src/Text')
-rw-r--r-- | src/Text/Pandoc/Readers/DokuWiki.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/DokuWiki.hs b/src/Text/Pandoc/Readers/DokuWiki.hs index 3652dd9f1..60d406df1 100644 --- a/src/Text/Pandoc/Readers/DokuWiki.hs +++ b/src/Text/Pandoc/Readers/DokuWiki.hs @@ -358,7 +358,7 @@ parseWidthHeight s = (width, height) _ -> Nothing image :: PandocMonad m => DWParser m B.Inlines -image = parseLink fromRaw "{{" "}}" +image = try $ parseLink fromRaw "{{" "}}" where fromRaw path description = if linkOnly |