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 e0f7c1b commit b328670Copy full SHA for b328670
src/Text/Pandoc/Writers/Docx.hs
@@ -852,7 +852,7 @@ blockToOpenXML' opts (Plain lst) = do
852
then withParaProp prop block
853
else block
854
-- title beginning with fig: indicates that the image is a figure
855
-blockToOpenXML' opts (Para [Image attr alt (src,T.stripPrefix "fig:" -> Just tit)]) = do
+blockToOpenXML' opts (SimpleFigure attr alt (src, tit)) = do
856
setFirstPara
857
prop <- pStyleM $
858
if null alt
0 commit comments