Revert "fix: Parse style param optionally in webseq"

This reverts commit 580233fb715fdf141adb3ea0920c143327720ef7.
This commit is contained in:
1ambda 2016-11-07 14:23:10 +09:00
parent 8cfb2c81a6
commit 4e4893352f

View file

@ -75,9 +75,8 @@ public class PegdownWebSequencelPlugin extends Parser implements BlockPluginPars
return NodeSequence(
startMarker(),
Optional(
String("style="),
Sequence(OneOrMore(Letter()), style.append(match()), Spn1())),
String("style="),
Sequence(OneOrMore(Letter()), style.append(match()), Spn1()),
Sequence(body(), body.append(match())),
endMarker(),
push(