diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-02-06 23:33:23 +0100 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-02-06 23:33:23 +0100 |
commit | 47a16065c44eb5028ca9b9e86993fe880ef2a37d (patch) | |
tree | 87187306f99b0782fb7709a57491c774a5a168a3 /src/Text/Pandoc/Readers/Textile.hs | |
parent | d1c16c4785b177fc71358595ef8e3ac9bb75b4ba (diff) | |
download | pandoc-47a16065c44eb5028ca9b9e86993fe880ef2a37d.tar.gz |
Removed --parse-raw and readerParseRaw.
These were confusing.
Now we rely on the +raw_tex or +raw_html extension with latex
or html input.
Thus, instead of
--parse-raw -f latex
we use
-f latex+raw_tex
and instead of
--parse-raw -f html
we use
-f html+raw_html
Diffstat (limited to 'src/Text/Pandoc/Readers/Textile.hs')
-rw-r--r-- | src/Text/Pandoc/Readers/Textile.hs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/Text/Pandoc/Readers/Textile.hs b/src/Text/Pandoc/Readers/Textile.hs index 804ee39aa..07fb65b20 100644 --- a/src/Text/Pandoc/Readers/Textile.hs +++ b/src/Text/Pandoc/Readers/Textile.hs @@ -85,12 +85,6 @@ readTextile opts s = do -- | Generate a Pandoc ADT from a textile document parseTextile :: PandocMonad m => ParserT [Char] ParserState m Pandoc parseTextile = do - -- textile allows raw HTML and does smart punctuation by default, - -- but we do not enable smart punctuation unless it is explicitly - -- asked for, for better conversion to other light markup formats - oldOpts <- stateOptions `fmap` getState - updateState $ \state -> state{ stateOptions = - oldOpts{ readerParseRaw = True } } many blankline startPos <- getPosition -- go through once just to get list of reference keys and notes |