mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-09 10:36:43 +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 ids - Comma separated list of ids
|
||||||
* @param className - Class to add
|
* @param className - Class to add
|
||||||
|
@@ -409,6 +409,7 @@ class C13["With Città foreign language"]
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
"methods": [],
|
"methods": [],
|
||||||
|
"styles": [],
|
||||||
"type": "",
|
"type": "",
|
||||||
}
|
}
|
||||||
`);
|
`);
|
||||||
|
@@ -377,7 +377,7 @@ styleStatement
|
|||||||
;
|
;
|
||||||
|
|
||||||
cssClassStatement
|
cssClassStatement
|
||||||
: CSSCLASS STR stylesOpt {yy.setCssClass($2, $3);}
|
: CSSCLASS STR ALPHA {yy.setCssClass($2, $3);}
|
||||||
;
|
;
|
||||||
|
|
||||||
stylesOpt
|
stylesOpt
|
||||||
|
Reference in New Issue
Block a user