Skip to content

Commit

Permalink
Fix for proper handling of block-diagram labels
Browse files Browse the repository at this point in the history
  • Loading branch information
knsv committed May 14, 2024
1 parent c7fe9a6 commit dab26df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/mermaid/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"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.",
"type": "module",
"module": "./dist/mermaid.core.mjs",
Expand Down
2 changes: 1 addition & 1 deletion packages/mermaid/src/diagrams/block/blockDB.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const config = getConfig();

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
Expand Down

0 comments on commit dab26df

Please sign in to comment.