ODT writer: Don't wrap text in opendocument.

This commit is contained in:
John MacFarlane 2010-12-22 14:55:59 -08:00
parent 137dc85239
commit 4ba3afbb4d

View file

@ -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