~ubuntu-branches/ubuntu/saucy/pandoc/saucy-proposed

« back to all changes in this revision

Viewing changes to src/Text/Pandoc/Writers/ODT.hs

  • Committer: Package Import Robot
  • Author(s): Joachim Breitner
  • Date: 2013-05-25 00:41:12 UTC
  • mfrom: (3.1.18 sid)
  • Revision ID: package-import@ubuntu.com-20130525004112-7kun3p25zx2hibxs
Tags: 1.11.1-2
Upload to unstable 

Show diffs side-by-side

added added

removed removed

Lines of Context:
78
78
                                     ]
79
79
  let files = [ ent | ent <- filesInArchive archive, not ("META-INF" `isPrefixOf` ent) ]
80
80
  let manifestEntry = toEntry "META-INF/manifest.xml" epochtime
81
 
        $ fromStringLazy $ show
 
81
        $ fromStringLazy $ render Nothing
82
82
        $ text "<?xml version=\"1.0\" encoding=\"utf-8\"?>"
83
83
        $$
84
84
         ( inTags True "manifest:manifest"
92
92
         )
93
93
  let archive' = addEntryToArchive manifestEntry archive
94
94
  let metaEntry = toEntry "meta.xml" epochtime
95
 
       $ fromStringLazy $ show
 
95
       $ fromStringLazy $ render Nothing
96
96
       $ text "<?xml version=\"1.0\" encoding=\"utf-8\"?>"
97
97
       $$
98
98
        ( inTags True "office:document-meta"