Don't double-escape ampersand
This commit is contained in:
parent
d758648dc2
commit
0dbc0e5887
1 changed files with 1 additions and 1 deletions
|
@ -122,9 +122,9 @@ MessageInsertion.prototype.toString = function insertionToString() {
|
|||
function enhanceMessageText(formattedText) {
|
||||
|
||||
var messageText = formattedText.text;
|
||||
messageText = messageText.replace("&", "&");
|
||||
messageText = messageText.replace("<", "<");
|
||||
messageText = messageText.replace(">", ">");
|
||||
messageText = messageText.replace("&", "&");
|
||||
var messageInsertions = [];
|
||||
|
||||
for (var i = 0; i < formattedText.entities.length; i++) {
|
||||
|
|
Loading…
Reference in a new issue