Textile reader: Replace failIfStrict with guardEnabled.
This commit is contained in:
parent
14c911ba06
commit
e797ab9136
1 changed files with 3 additions and 3 deletions
|
@ -273,7 +273,7 @@ rawHtmlBlock = try $ do
|
|||
-- | Raw block of LaTeX content
|
||||
rawLaTeXBlock' :: Parser [Char] ParserState Block
|
||||
rawLaTeXBlock' = do
|
||||
failIfStrict
|
||||
guardEnabled Ext_raw_tex
|
||||
RawBlock "latex" <$> (rawLaTeXBlock <* spaces)
|
||||
|
||||
|
||||
|
@ -468,7 +468,7 @@ rawHtmlInline = RawInline "html" . snd <$> htmlTag isInlineTag
|
|||
-- | Raw LaTeX Inline
|
||||
rawLaTeXInline' :: Parser [Char] ParserState Inline
|
||||
rawLaTeXInline' = try $ do
|
||||
failIfStrict
|
||||
guardEnabled Ext_raw_tex
|
||||
rawLaTeXInline
|
||||
|
||||
-- | Textile standard link syntax is "label":target. But we
|
||||
|
|
Loading…
Reference in a new issue