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 242ebe0 commit 4a3b402Copy full SHA for 4a3b402
src/Text/Pandoc/Writers/OpenDocument.hs
@@ -2,7 +2,6 @@
2
{-# LANGUAGE LambdaCase #-}
3
{-# LANGUAGE OverloadedStrings #-}
4
{-# LANGUAGE PatternGuards #-}
5
-{-# LANGUAGE ViewPatterns #-}
6
{- |
7
Module : Text.Pandoc.Writers.OpenDocument
8
Copyright : Copyright (C) 2008-2020 Andrea Rossato and John MacFarlane
@@ -377,7 +376,7 @@ blockToOpenDocument o = \case
377
376
Plain b -> if null b
378
then return empty
379
else inParagraphTags =<< inlinesToOpenDocument o b
380
- Para [Image attr c (s,T.stripPrefix "fig:" -> Just t)] -> figure attr c s t
+ SimpleFigure attr c (s, t) -> figure attr c s t
381
Para b -> if null b &&
382
not (isEnabled Ext_empty_paragraphs o)
383
0 commit comments