mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-19 16:26:43 +02:00
Added linebreak to allow for commit (fixing eslint issue)
This commit is contained in:
@@ -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 ?? '';
|
||||||
|
Reference in New Issue
Block a user