Skip to content

Commit a053132

Browse files
committed
Use SimpleFigure in OpenDocument writer.
1 parent a84d10b commit a053132

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Text/Pandoc/Writers/OpenDocument.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ blockToOpenDocument o = \case
377377
Plain b -> if null b
378378
then return empty
379379
else inParagraphTags =<< inlinesToOpenDocument o b
380-
Para [Image attr c (s,T.stripPrefix "fig:" -> Just t)] -> figure attr c s t
380+
SimpleFigure attr c s t -> figure attr c s t
381381
Para b -> if null b &&
382382
not (isEnabled Ext_empty_paragraphs o)
383383
then return empty

0 commit comments

Comments
 (0)