mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
fix: Parse style param optionally in webseq
This commit is contained in:
parent
8831ca1fd3
commit
7c5d41e308
1 changed files with 3 additions and 2 deletions
|
|
@ -77,8 +77,9 @@ public class PegdownWebSequencelPlugin extends Parser implements BlockPluginPars
|
|||
|
||||
return NodeSequence(
|
||||
StartMarker(),
|
||||
String("style="),
|
||||
Sequence(OneOrMore(Letter()), style.append(match()), Spn1()),
|
||||
Optional(
|
||||
String("style="),
|
||||
Sequence(OneOrMore(Letter()), style.append(match()), Spn1())),
|
||||
Sequence(Body(), body.append(match())),
|
||||
EndMarker(),
|
||||
push(
|
||||
|
|
|
|||
Loading…
Reference in a new issue