mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-27 01:45:56 +00:00
Markdown reader: small efficiency improvement.
Switched `notFollewdBy' rawHtmlBlocks` -> `notFollowedBy' (htmlTag isBlockTag)`, which is more efficient.
This commit is contained in:
@@ -1384,7 +1384,7 @@ ltSign :: MarkdownParser (F Inlines)
|
||||
ltSign = do
|
||||
guardDisabled Ext_raw_html
|
||||
<|> guardDisabled Ext_markdown_in_html_blocks
|
||||
<|> (notFollowedBy' rawHtmlBlocks >> return ())
|
||||
<|> (notFollowedBy' (htmlTag isBlockTag) >> return ())
|
||||
char '<'
|
||||
return $ return $ B.str "<"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user