Skip to content

Commit

Permalink
Fixed exponential problem with Emph/Strong.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgm committed Dec 15, 2011
1 parent 85439dd commit c258a9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion markdown_parser.leg
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ UlLine = < "____" '_'* > | < Spacechar '_'+ &Spacechar >
Emph = EmphStar | EmphUl

OneStarOpen = !StarLine '*' !Spacechar !Newline
OneStarClose = !Spacechar !Newline a:Inline !StrongStar '*' { $$ = a; }
OneStarClose = !Spacechar !Newline a:Inline '*' { $$ = a; }

EmphStar = OneStarOpen
a:StartList
Expand Down

0 comments on commit c258a9a

Please sign in to comment.