Skip to content

Commit 7c5d41e

Browse files
committed
fix: Parse style param optionally in webseq
1 parent 8831ca1 commit 7c5d41e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

markdown/src/main/java/org/apache/zeppelin/markdown/PegdownWebSequencelPlugin.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,9 @@ Rule BlockRule() {
7777

7878
return NodeSequence(
7979
StartMarker(),
80-
String("style="),
81-
Sequence(OneOrMore(Letter()), style.append(match()), Spn1()),
80+
Optional(
81+
String("style="),
82+
Sequence(OneOrMore(Letter()), style.append(match()), Spn1())),
8283
Sequence(Body(), body.append(match())),
8384
EndMarker(),
8485
push(

0 commit comments

Comments
 (0)