From 47cc5ad6e0269ca6aa8b8b6dd7d4415967f8a488 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 12 Dec 2015 00:28:47 -0800 Subject: Restore no wrapping of XML in Docx, ODT. It's possible that wrapping causes problems; safer to turn it off. --- src/Text/Pandoc/Writers/ODT.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Text/Pandoc/Writers/ODT.hs') diff --git a/src/Text/Pandoc/Writers/ODT.hs b/src/Text/Pandoc/Writers/ODT.hs index 28f8b58aa..6df199fc9 100644 --- a/src/Text/Pandoc/Writers/ODT.hs +++ b/src/Text/Pandoc/Writers/ODT.hs @@ -67,7 +67,7 @@ writeODT opts doc@(Pandoc meta _) = do -- handle formulas and pictures picEntriesRef <- newIORef ([] :: [Entry]) doc' <- walkM (transformPicMath opts picEntriesRef) $ walk fixDisplayMath doc - let newContents = writeOpenDocument opts{writerWrapText = WrapAuto} doc' + let newContents = writeOpenDocument opts{writerWrapText = WrapNone} doc' epochtime <- floor `fmap` getPOSIXTime let contentEntry = toEntry "content.xml" epochtime $ fromStringLazy newContents -- cgit v1.2.3