Skip to content

Commit

Permalink
Added linebreak to allow for commit (fixing eslint issue)
Browse files Browse the repository at this point in the history
  • Loading branch information
jgreywolf committed Dec 6, 2024
1 parent 1d2d698 commit 6539081
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/mermaid/src/diagrams/class/shapeUtil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ async function addText<T extends SVGGraphicsElement>(
'useHtmlLabels' in node ? node.useHtmlLabels : (evaluate(config.htmlLabels) ?? true);

let textContent = '';

// Support regular node type (.label) and classNodes (.text)
if ('text' in node) {
textContent = node.text ?? '';
Expand Down

0 comments on commit 6539081

Please sign in to comment.