Link reference following a footnote definition without a separating blank line gets swallowed as text in the footnote.
Fixes #123.
This commit is contained in:
parent
de989d7c21
commit
92c726ac67
1 changed files with 1 additions and 1 deletions
|
|
@ -2909,7 +2909,7 @@ abstract class _MarkdownExtra_TmpImpl extends \Michelf\Markdown {
|
|||
.+ # actual text
|
||||
|
|
||||
\n # newlines but
|
||||
(?!\[\^.+?\]:\s)# negative lookahead for footnote marker.
|
||||
(?!\[.+?\][ ]?:\s)# negative lookahead for footnote or link definition marker.
|
||||
(?!\n+[ ]{0,3}\S)# ensure line is not blank and followed
|
||||
# by non-indented content
|
||||
)*
|
||||
|
|
|
|||
Loading…
Reference in a new issue