Fixed an issue with code blocks preceded by a blank line with whitespace on it.
This commit is contained in:
parent
834cd345a0
commit
82c323389c
1 changed files with 1 additions and 1 deletions
|
|
@ -1707,7 +1707,7 @@ class MarkdownExtra_Parser extends Markdown_Parser {
|
|||
'. ( !$span ? ' # If not in span.
|
||||
|
|
||||
# Indented code block
|
||||
(?> ^\n? | \n\n )
|
||||
(?> ^[ ]*\n? | \n[ ]*\n )
|
||||
[ ]{'.($indent+4).'}[^\n]* \n
|
||||
(?>
|
||||
(?: [ ]{'.($indent+4).'}[^\n]* | [ ]* ) \n
|
||||
|
|
|
|||
Loading…
Reference in a new issue