Skip to content

Commit dab26df

Browse files
committed
Fix for proper handling of block-diagram labels
1 parent c7fe9a6 commit dab26df

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/mermaid/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mermaid",
3-
"version": "10.9.0",
3+
"version": "10.9.1",
44
"description": "Markdown-ish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.",
55
"type": "module",
66
"module": "./dist/mermaid.core.mjs",

packages/mermaid/src/diagrams/block/blockDB.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const config = getConfig();
2020

2121
let classes = {} as Record<string, ClassDef>;
2222

23-
const sanitizeText = (txt) => common.sanitizeText(txt, config);
23+
const sanitizeText = (txt:string) => common.sanitizeText(txt, config);
2424

2525
/**
2626
* Called when the parser comes across a (style) class definition

0 commit comments

Comments
 (0)