summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-06-16 23:02:20 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2014-06-16 23:02:20 -0700
commit7d60c798bf12a93ca4d7f4d973c917ba0d5a96ff (patch)
tree6e7f993e900fa7bdd37bebfb6c84b70fdb03734e /src/Text/Pandoc/Readers
parentbbe99003f8d25dc65ab12851907ecd5d9aad746c (diff)
Fixed compiler warning.
Diffstat (limited to 'src/Text/Pandoc/Readers')
-rw-r--r--src/Text/Pandoc/Readers/Docx.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/Docx.hs b/src/Text/Pandoc/Readers/Docx.hs
index df4be41ff..4035cde99 100644
--- a/src/Text/Pandoc/Readers/Docx.hs
+++ b/src/Text/Pandoc/Readers/Docx.hs
@@ -216,7 +216,9 @@ parPartsToInlines opts docx parparts =
-- We're going to skip data-uri's for now. It should be an option,
-- not mandatory.
--
- --bottomUp (makeImagesSelfContained docx) $
+ (if False -- TODO depend on option
+ then bottomUp (makeImagesSelfContained docx)
+ else id) $
bottomUp spanCorrect $
bottomUp spanTrim $
bottomUp spanReduce $