We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60bf39c commit e5e6919Copy full SHA for e5e6919
src/Text/Pandoc/Writers/DokuWiki.hs
@@ -109,9 +109,7 @@ blockToDokuWiki opts (Plain inlines) =
109
110
-- title beginning with fig: indicates that the image is a figure
111
-- dokuwiki doesn't support captions - so combine together alt and caption into alt
112
-blockToDokuWiki opts (Para [Image attr txt (src,tgt)])
113
- | Just tit <- T.stripPrefix "fig:" tgt
114
- = do
+blockToDokuWiki opts (SimpleFigure attr txt (src, tit)) = do
115
capt <- if null txt
116
then return ""
117
else (" " <>) `fmap` inlineListToDokuWiki opts txt
0 commit comments