Fixed Endline to allow 1 and 2-character setext header lines. [jgm/peg-markdown]

See https://github.com/jgm/peg-markdown/commit/482a0ba
This commit is contained in:
Michael Teichgräber 2013-01-23 22:30:47 +01:00
parent fe64993b93
commit 6bfe7a1a46
2 changed files with 2 additions and 2 deletions

View File

@ -510,7 +510,7 @@ Entity = ( HexEntity | DecEntity | CharEntity )
Endline = LineBreak | TerminalEndline | NormalEndline
NormalEndline = Sp Newline !BlankLine !'>' !AtxStart
!(Line ("===" '='* | "---" '-'*) Newline)
!(Line ('='+ | '-'+) Newline)
{ $$ = p.mkString("\n")
$$.key = SPACE }

2
portid
View File

@ -1 +1 @@
193
195