mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-02-04 07:13:25 +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);
|
'useHtmlLabels' in node ? node.useHtmlLabels : (evaluate(config.htmlLabels) ?? true);
|
||||||
|
|
||||||
let textContent = '';
|
let textContent = '';
|
||||||
|
|
||||||
// Support regular node type (.label) and classNodes (.text)
|
// Support regular node type (.label) and classNodes (.text)
|
||||||
if ('text' in node) {
|
if ('text' in node) {
|
||||||
textContent = node.text ?? '';
|
textContent = node.text ?? '';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user