aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJesse Rosenthal <jrosenthal@jhu.edu>2014-06-25 13:57:56 -0400
committerJesse Rosenthal <jrosenthal@jhu.edu>2014-06-25 13:57:56 -0400
commit6ff84b5e8da47ff7f4b77bd6cd017beae81fed97 (patch)
treebfa259a329c800ec1980ced5441145d9127d56aa /src
parent3ec62d006483d369bb896b283db82e4437b66d05 (diff)
downloadpandoc-6ff84b5e8da47ff7f4b77bd6cd017beae81fed97.tar.gz
Add reader option for track changes.
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/Options.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Options.hs b/src/Text/Pandoc/Options.hs
index e0ad866ad..d0a76a001 100644
--- a/src/Text/Pandoc/Options.hs
+++ b/src/Text/Pandoc/Options.hs
@@ -211,6 +211,7 @@ data ReaderOptions = ReaderOptions{
-- indented code blocks
, readerDefaultImageExtension :: String -- ^ Default extension for images
, readerTrace :: Bool -- ^ Print debugging info
+ , readerTrackChanges :: TrackChanges
} deriving (Show, Read)
instance Default ReaderOptions
@@ -227,6 +228,7 @@ instance Default ReaderOptions
, readerIndentedCodeClasses = []
, readerDefaultImageExtension = ""
, readerTrace = False
+ , readerTrackChanges = AcceptChanges
}
--