mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-28 07:03:17 +08:00
Added linebreak to allow for commit (fixing eslint issue)
This commit is contained in:
parent
801bdea300
commit
3e57d35aee
@ -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 ?? '';
|
||||
|
Loading…
x
Reference in New Issue
Block a user