summaryrefslogtreecommitdiff
path: root/src/pandoc.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2012-11-02 17:46:22 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2012-11-02 17:46:22 -0700
commit43448d7d536889f58a1f5c50ee403f9c4534edf4 (patch)
tree5e3f126ce3d4eb4b4166dbd72fe867d7d65baf2c /src/pandoc.hs
parent7818033df954953e3b228b9c930336ba02798abc (diff)
Preliminary changes for epub3 format.
* EPUB writer now exports writeEPUB2 and writeEPUB3. * 'epub' output format is epub v2, while 'epub3' is v3.
Diffstat (limited to 'src/pandoc.hs')
-rw-r--r--src/pandoc.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pandoc.hs b/src/pandoc.hs
index db98f41ee..7268f57f8 100644
--- a/src/pandoc.hs
+++ b/src/pandoc.hs
@@ -83,7 +83,7 @@ wrapWords indent c = wrap' (c - indent) (c - indent)
else ", " ++ x ++ wrap' cols (remaining - (length x + 2)) xs
isTextFormat :: String -> Bool
-isTextFormat s = takeWhile (`notElem` "+-") s `notElem` ["odt","docx","epub"]
+isTextFormat s = takeWhile (`notElem` "+-") s `notElem` ["odt","docx","epub","epub3"]
-- | Data structure for command line options.
data Opt = Opt