mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-12 11:59:39 +02:00
Fix for proper handling of block-diagram labels
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "mermaid",
|
"name": "mermaid",
|
||||||
"version": "10.9.0",
|
"version": "10.9.1",
|
||||||
"description": "Markdown-ish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.",
|
"description": "Markdown-ish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"module": "./dist/mermaid.core.mjs",
|
"module": "./dist/mermaid.core.mjs",
|
||||||
|
@@ -20,7 +20,7 @@ const config = getConfig();
|
|||||||
|
|
||||||
let classes = {} as Record<string, ClassDef>;
|
let classes = {} as Record<string, ClassDef>;
|
||||||
|
|
||||||
const sanitizeText = (txt) => common.sanitizeText(txt, config);
|
const sanitizeText = (txt:string) => common.sanitizeText(txt, config);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Called when the parser comes across a (style) class definition
|
* Called when the parser comes across a (style) class definition
|
||||||
|
Reference in New Issue
Block a user