From 326da7a836ee30fee8256abc35e6cc4981ea8fd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Teichgr=C3=A4ber?= Date: Wed, 23 Jan 2013 22:28:03 +0100 Subject: [PATCH] Require only one character for setext header lines. [jgm/peg-markdown] See https://github.com/jgm/peg-markdown/commit/ce835e5 --- parser.leg | 4 ++-- portid | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/parser.leg b/parser.leg index ad30b32..85f2cf4 100644 --- a/parser.leg +++ b/parser.leg @@ -148,9 +148,9 @@ AtxHeading = s:AtxStart Sp? a:StartList ( AtxInline { a = cons($$, a) } )+ (Sp? SetextHeading = SetextHeading1 | SetextHeading2 -SetextBottom1 = "===" '='* Newline +SetextBottom1 = '='+ Newline -SetextBottom2 = "---" '-'* Newline +SetextBottom2 = '-'+ Newline SetextHeading1 = &(RawLine SetextBottom1) a:StartList ( !Endline Inline { a = cons($$, a) } )+ Sp? Newline diff --git a/portid b/portid index 88b2e78..86a0307 100644 --- a/portid +++ b/portid @@ -1 +1 @@ -191 +192