removed commented out code

This commit is contained in:
Hans Blankenhaus
2023-09-19 17:03:47 +02:00
parent bca39e8081
commit a75d14f5d0

View File

@@ -169,9 +169,9 @@ export const createText = (
log.info('createText', text, style, isTitle, classes, useHtmlLabels, isNode, addSvgBackground);
if (useHtmlLabels) {
// TODO: addHtmlLabel accepts a labelStyle. Do we possibly have that?
// text = text.replace(/\\n|\n/g, '<br />');
const htmlText = markdownToHTML(text);
// log.info('markdo wnToHTML' + text, markdownToHTML(text));
const node = {
isNode,
label: decodeEntities(htmlText).replace(