diff options
| author | Michael Stahl <[email protected]> | 2023-04-28 10:58:40 +0200 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2023-04-28 12:17:22 -0700 |
| commit | 54c0c494a2967661462a50d0a5fed5da646730fa (patch) | |
| tree | 50ca0210647c209b1c995c5941f361b05ab6cc1c | |
| parent | ac35c9a31cd7082452f1fc0b0290f55e11811bca (diff) | |
Writers.ODT: don't add thumbnail
Quite pointless to add a hardcoded image that doesn't show the
document content.
| -rw-r--r-- | data/odt/META-INF/manifest.xml | 1 | ||||
| -rw-r--r-- | data/odt/Thumbnails/thumbnail.png | bin | 785 -> 0 bytes | |||
| -rw-r--r-- | pandoc.cabal | 1 | ||||
| -rw-r--r-- | src/Text/Pandoc/Data.hs | 1 |
4 files changed, 0 insertions, 3 deletions
diff --git a/data/odt/META-INF/manifest.xml b/data/odt/META-INF/manifest.xml index e281fe9b7..9691c9b5f 100644 --- a/data/odt/META-INF/manifest.xml +++ b/data/odt/META-INF/manifest.xml @@ -4,7 +4,6 @@ <manifest:file-entry manifest:full-path="meta.xml" manifest:media-type="text/xml"/> <manifest:file-entry manifest:full-path="settings.xml" manifest:media-type="text/xml"/> <manifest:file-entry manifest:full-path="content.xml" manifest:media-type="text/xml"/> - <manifest:file-entry manifest:full-path="Thumbnails/thumbnail.png" manifest:media-type="image/png"/> <manifest:file-entry manifest:full-path="manifest.rdf" manifest:media-type="application/rdf+xml"/> <manifest:file-entry manifest:full-path="Configurations2/accelerator/current.xml" manifest:media-type=""/> <manifest:file-entry manifest:full-path="Configurations2/" manifest:media-type="application/vnd.sun.xml.ui.configuration"/> diff --git a/data/odt/Thumbnails/thumbnail.png b/data/odt/Thumbnails/thumbnail.png Binary files differdeleted file mode 100644 index 63de13060..000000000 --- a/data/odt/Thumbnails/thumbnail.png +++ /dev/null diff --git a/pandoc.cabal b/pandoc.cabal index d29169f81..5229b6042 100644 --- a/pandoc.cabal +++ b/pandoc.cabal @@ -127,7 +127,6 @@ data-files: data/odt/meta.xml data/odt/settings.xml data/odt/Configurations2/accelerator/current.xml - data/odt/Thumbnails/thumbnail.png data/odt/META-INF/manifest.xml -- source files for reference.pptx data/pptx/_rels/.rels diff --git a/src/Text/Pandoc/Data.hs b/src/Text/Pandoc/Data.hs index f1cf0521c..823ff93a5 100644 --- a/src/Text/Pandoc/Data.hs +++ b/src/Text/Pandoc/Data.hs @@ -125,7 +125,6 @@ getDefaultReferenceODT = do "meta.xml", "settings.xml", "Configurations2/accelerator/current.xml", - "Thumbnails/thumbnail.png", "META-INF/manifest.xml"] let pathToEntry path = do epochtime <- floor `fmap` getPOSIXTime contents <- (BL.fromChunks . (:[])) `fmap` |
