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
b43e14e97e
commit
dc4f110e9e
1 changed files with 3 additions and 2 deletions
|
|
@ -75,8 +75,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