diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-10-30 17:24:27 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-10-30 17:25:15 -0700 |
commit | 599d4aa03239f6094ee56fedd2a466983c68f434 (patch) | |
tree | e7e9353d1c9788733666c3951cca7ee2b3878dc4 /src/Text/Pandoc/App.hs | |
parent | bcf982c083fc32dfda0cf24ca965b71232d22f0c (diff) | |
download | pandoc-599d4aa03239f6094ee56fedd2a466983c68f434.tar.gz |
EPUB writer fixes:
- Ensure that epub2 is recognized as a non-text format,
so that a template is used.
- Don't include "prefix" attribute for ibooks for epub2.
It doesn't validate.
- Fix stylesheet paths; previously we had an incorrect
stylesheet path for the cover page and nav page.
Diffstat (limited to 'src/Text/Pandoc/App.hs')
-rw-r--r-- | src/Text/Pandoc/App.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/App.hs b/src/Text/Pandoc/App.hs index 3cf6f0788..e82ccf3f0 100644 --- a/src/Text/Pandoc/App.hs +++ b/src/Text/Pandoc/App.hs @@ -535,7 +535,7 @@ convertWithOpts opts = do type Transform = Pandoc -> Pandoc isTextFormat :: String -> Bool -isTextFormat s = s `notElem` ["odt","docx","epub","epub3"] +isTextFormat s = s `notElem` ["odt","docx","epub2","epub3","epub"] externalFilter :: MonadIO m => ReaderOptions -> FilePath -> [String] -> Pandoc -> m Pandoc |