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
1 changed files with 1 additions and 1 deletions

View File

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