Skip to content

Commit 9301a57

Browse files
committed
style: prettify src/diagrams/block/blockDB.ts
1 parent 2bedd0e commit 9301a57

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

+2-2
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:string) => 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
@@ -93,7 +93,7 @@ const populateBlockDatabase = (_blockList: Block[] | Block[][], parent: Block):
9393
const children = [];
9494
for (const block of blockList) {
9595
if (block.label) {
96-
block.label = sanitizeText(block.label);
96+
block.label = sanitizeText(block.label);
9797
}
9898
if (block.type === 'classDef') {
9999
addStyleClass(block.id, block.css);

0 commit comments

Comments
 (0)