aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2010-12-22 14:55:59 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2010-12-22 14:55:59 -0800
commit4ba3afbb4d55af23116f5882e18549ea1f228216 (patch)
treee73aa513e1c65491ccca626b97979694eb5b7b9c /src/Text/Pandoc/Writers
parent137dc85239e0112352811b774d9d7cf6a57ddc83 (diff)
downloadpandoc-4ba3afbb4d55af23116f5882e18549ea1f228216.tar.gz
ODT writer: Don't wrap text in opendocument.
Diffstat (limited to 'src/Text/Pandoc/Writers')
-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 5aa0fd310..e4230a8a9 100644
--- a/src/Text/Pandoc/Writers/ODT.hs
+++ b/src/Text/Pandoc/Writers/ODT.hs
@@ -64,7 +64,7 @@ writeODT mbRefOdt opts doc = do
picEntriesRef <- newIORef ([] :: [Entry])
let sourceDir = writerSourceDirectory opts
doc' <- processWithM (transformPic sourceDir picEntriesRef) doc
- let newContents = writeOpenDocument opts doc'
+ let newContents = writeOpenDocument opts{writerWrapText = False} doc'
(TOD epochtime _) <- getClockTime
let contentEntry = toEntry "content.xml" epochtime $ fromString newContents
picEntries <- readIORef picEntriesRef