mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-08 10:06:40 +02:00
Fixed parser/tests
This commit is contained in:
@@ -215,7 +215,7 @@ export const cleanupLabel = function (label: string) {
|
||||
};
|
||||
|
||||
/**
|
||||
* Called by parser when a special node is found, e.g. a clickable element.
|
||||
* Called by parser when assigning cssClass to a class
|
||||
*
|
||||
* @param ids - Comma separated list of ids
|
||||
* @param className - Class to add
|
||||
|
@@ -409,6 +409,7 @@ class C13["With Città foreign language"]
|
||||
},
|
||||
],
|
||||
"methods": [],
|
||||
"styles": [],
|
||||
"type": "",
|
||||
}
|
||||
`);
|
||||
|
@@ -377,7 +377,7 @@ styleStatement
|
||||
;
|
||||
|
||||
cssClassStatement
|
||||
: CSSCLASS STR stylesOpt {yy.setCssClass($2, $3);}
|
||||
: CSSCLASS STR ALPHA {yy.setCssClass($2, $3);}
|
||||
;
|
||||
|
||||
stylesOpt
|
||||
|
Reference in New Issue
Block a user