diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/deploy.js b/packages/node_modules/@node-red/editor-client/src/js/ui/deploy.js index bae8dec40..96363e21b 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/deploy.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/deploy.js @@ -261,7 +261,9 @@ RED.deploy = (function() { } return list; } - + function sanitize(html) { + return html.replace(/&/g,"&").replace(//g,">") + } function restart() { var startTime = Date.now(); $(".deploy-button-content").css('opacity',0); @@ -353,7 +355,7 @@ RED.deploy = (function() { if (hasUnknown && !ignoreDeployWarnings.unknown) { showWarning = true; notificationMessage = "

"+RED._('deploy.confirm.unknown')+"

"+ - '

"+ + '

"+ RED._('deploy.confirm.confirm')+ "

"; @@ -373,7 +375,7 @@ RED.deploy = (function() { invalidNodes.sort(sortNodeInfo); notificationMessage = "

"+RED._('deploy.confirm.improperlyConfigured')+"

"+ - '

"+ + '

"+ RED._('deploy.confirm.confirm')+ "

"; notificationButtons= [