diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/utils.js b/packages/node_modules/@node-red/editor-client/src/js/ui/utils.js index 315159086..67795cc55 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/utils.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/utils.js @@ -39,12 +39,12 @@ RED.utils = (function() { type: 'descriptionList', // Should match "name" above raw: match[0], // Text to consume from the source text: match[0].trim(), // Additional custom properties - tokens: this.inlineTokens(match[0].trim()) // inlineTokens to process **bold**, *italics*, etc. + tokens: this.lexer.inlineTokens(match[0].trim()) // inlineTokens to process **bold**, *italics*, etc. }; } }, renderer(token) { - return `
`; // parseInline to turn child tokens into HTML + return ` `; // parseInline to turn child tokens into HTML } }; @@ -64,14 +64,14 @@ RED.utils = (function() { return { // Token to generate type: 'description', // Should match "name" above raw: match[0], // Text to consume from the source - dt: this.inlineTokens(match[1].trim()), // Additional custom properties - types: this.inlineTokens(match[2].trim()), - dd: this.inlineTokens(match[3].trim()), + dt: this.lexer.inlineTokens(match[1].trim()), // Additional custom properties + types: this.lexer.inlineTokens(match[2].trim()), + dd: this.lexer.inlineTokens(match[3].trim()), }; } }, renderer(token) { - return `\n