summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers/ODT.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-12-12 00:28:47 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-12-12 00:28:47 -0800
commit47cc5ad6e0269ca6aa8b8b6dd7d4415967f8a488 (patch)
treeae446cdbd42375d14317d4039f679b86b4d94f86 /src/Text/Pandoc/Writers/ODT.hs
parent28a2f4c2a4aea172c370e91fdb01471245ba9a86 (diff)
Restore no wrapping of XML in Docx, ODT.
It's possible that wrapping causes problems; safer to turn it off.
Diffstat (limited to 'src/Text/Pandoc/Writers/ODT.hs')
-rw-r--r--src/Text/Pandoc/Writers/ODT.hs2
1 files changed, 1 insertions, 1 deletions
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