1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Sanitize branch name before displaying in notification message

This commit is contained in:
Nick O'Leary 2021-02-03 15:46:57 +00:00
parent 735de2908a
commit a2878fa066
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -231,7 +231,7 @@ var RED = (function() {
"merge-complete": RED._("notification.project.merge-complete") "merge-complete": RED._("notification.project.merge-complete")
}[msg.action]; }[msg.action];
loader.end() loader.end()
RED.notify("<p>"+message+"</p>"); RED.notify($("<p>").text(message));
RED.sidebar.info.refresh() RED.sidebar.info.refresh()
}); });
}); });