diff --git a/parser.leg b/parser.leg index fc8b6b1..93eac70 100644 --- a/parser.leg +++ b/parser.leg @@ -534,7 +534,6 @@ Symbol = < SpecialChar > UlOrStarLine = (UlLine | StarLine) { $$ = p.mkString(yytext) } StarLine = < "****" '*'* > | < Spacechar '*'+ &Spacechar > UlLine = < "____" '_'* > | < Spacechar '_'+ &Spacechar > -TildeLine = < "~~~~" '~'* > | < Spacechar '~'+ &Spacechar > Emph = EmphStar | EmphUl @@ -574,10 +573,10 @@ TwoTildeOpen = &{ p.extension.Strike } !TildeLine "~~" !Spacechar !Newline TwoTildeClose = &{ p.extension.Strike } !Spacechar !Newline a:Inline "~~" { $$ = a; } Strike = &{ p.extension.Strike } - TwoTildeOpen + "~~" !Whitespace a:StartList - ( !TwoTildeClose Inline { a = cons($$, a) } )* - TwoTildeClose { a = cons($$, a) } + ( !"~~" b:Inline { a = cons(b, a) } )+ + "~~" { $$ = p.mkList(STRIKE, a) } Image = '!' ( ExplicitLink | ReferenceLink ) diff --git a/portid b/portid index 385c287..c0bdf6d 100644 --- a/portid +++ b/portid @@ -1 +1 @@ -ad324b86de96 +af94d25475d3