diff options
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r-- | src/Text/Pandoc/Writers/OpenDocument.hs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Text/Pandoc/Writers/OpenDocument.hs b/src/Text/Pandoc/Writers/OpenDocument.hs index 1a758193a..71e599e09 100644 --- a/src/Text/Pandoc/Writers/OpenDocument.hs +++ b/src/Text/Pandoc/Writers/OpenDocument.hs @@ -35,7 +35,7 @@ import Text.Pandoc.Options import Text.Pandoc.XML import Text.Pandoc.Shared (linesToPara) import Text.Pandoc.Templates (renderTemplate') -import Text.Pandoc.Readers.Odt.StyleReader +import Text.Pandoc.Readers.Odt.StyleReader hiding (listStyle) import Text.Pandoc.Writers.Math import Text.Pandoc.Pretty import Text.Printf ( printf ) @@ -392,9 +392,9 @@ blockToOpenDocument o bs paragraph inlines = inParagraphTags =<< inlinesToOpenDocument o inlines paraWithBreak :: PandocMonad m => ParaBreak -> [Inline] -> OD m Doc - paraWithBreak breakKind bs = do + paraWithBreak breakKind bs' = do pn <- paraBreakStyle breakKind - withParagraphStyle o ("P" ++ show pn) [Para bs] + withParagraphStyle o ("P" ++ show pn) [Para bs'] colHeadsToOpenDocument :: PandocMonad m => WriterOptions -> String -> [String] -> [[Block]] |