git.iko.soy/typeable/pandoc
on master help sign in
ODT writer: Don't wrap text in opendocument.
commit4ba3afbb4d55af23116f5882e18549ea1f228216 authorJohn MacFarlane <jgm@berkeley.edu> dateWed 22 Dec 2010, 14:55 (16 years ago) parent137dc85
1 file changed+1−1
src/Text/Pandoc/Writers/ODT.hs+1−1
src/Text/Pandoc/Writers/ODT.hs+1−1
@@ -64,7 +64,7 @@ writeODT mbRefOdt opts doc = do
6464 picEntriesRef <- newIORef ([] :: [Entry])
6565 let sourceDir = writerSourceDirectory opts
6666 doc' <- processWithM (transformPic sourceDir picEntriesRef) doc
67− let newContents = writeOpenDocument opts doc'
67+ let newContents = writeOpenDocument opts{writerWrapText = False} doc'
6868 (TOD epochtime _) <- getClockTime
6969 let contentEntry = toEntry "content.xml" epochtime $ fromString newContents
7070 picEntries <- readIORef picEntriesRef