summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Options.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2012-07-25 11:43:56 -0700
committerJohn MacFarlane <fiddlosopher@gmail.com>2012-07-25 11:43:56 -0700
commitef0619cc6d576061ba7e93b7ecf16f72021c6f68 (patch)
tree604648fe9665e339c3a7ddefc103fe1e94112c64 /src/Text/Pandoc/Options.hs
parent8b380a464e7cd27f992e26d861d5e451e90e9600 (diff)
Moved ParseRaw from ParserState to ReaderOptions.
Diffstat (limited to 'src/Text/Pandoc/Options.hs')
-rw-r--r--src/Text/Pandoc/Options.hs8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/Text/Pandoc/Options.hs b/src/Text/Pandoc/Options.hs
index 3f228aaa3..e096dc50e 100644
--- a/src/Text/Pandoc/Options.hs
+++ b/src/Text/Pandoc/Options.hs
@@ -51,9 +51,10 @@ data Extension = Footnotes
deriving (Show, Read, Enum, Eq, Ord, Bounded)
data ReaderOptions = ReaderOptions{
- readerExtensions :: Set Extension
- , readerSmart :: Bool
- , readerStrict :: Bool -- FOR TRANSITION ONLY
+ readerExtensions :: Set Extension -- ^ Syntax extensions
+ , readerSmart :: Bool -- ^ Smart punctuation
+ , readerStrict :: Bool -- ^ FOR TRANSITION ONLY
+ , readerParseRaw :: Bool -- ^ Parse raw HTML, LaTeX
} deriving (Show, Read)
instance Default ReaderOptions
@@ -61,4 +62,5 @@ instance Default ReaderOptions
readerExtensions = Set.fromList [minBound..maxBound]
, readerSmart = False
, readerStrict = False
+ , readerParseRaw = False
}