From 4ba3afbb4d55af23116f5882e18549ea1f228216 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 22 Dec 2010 14:55:59 -0800 Subject: ODT writer: Don't wrap text in opendocument. --- src/Text/Pandoc/Writers/ODT.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Text/Pandoc/Writers') 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 -- cgit v1.2.3