Markdown reader: Fixed regression on line breaks in strict mode.
Closes #1203.
This commit is contained in:
parent
818894b7b5
commit
dd058b38b0
1 changed files with 1 additions and 1 deletions
|
@ -1558,7 +1558,7 @@ endline = try $ do
|
|||
guardDisabled Ext_lists_without_preceding_blankline <|> notFollowedBy listStart
|
||||
guardEnabled Ext_blank_before_blockquote <|> notFollowedBy emailBlockQuoteStart
|
||||
guardEnabled Ext_blank_before_header <|> notFollowedBy (char '#') -- atx header
|
||||
guardEnabled Ext_backtick_code_blocks >>
|
||||
guardDisabled Ext_backtick_code_blocks <|>
|
||||
notFollowedBy (() <$ (lookAhead (char '`') >> codeBlockFenced))
|
||||
(guardEnabled Ext_hard_line_breaks >> return (return B.linebreak))
|
||||
<|> (guardEnabled Ext_ignore_line_breaks >> return mempty)
|
||||
|
|
Loading…
Add table
Reference in a new issue