commit
3b0fcad39b
2
chat.js
2
chat.js
|
@ -90,7 +90,7 @@ var Chat = (function (my) {
|
|||
}
|
||||
|
||||
//replace links and smileys
|
||||
var escMessage = Util.escapeHtml(message);
|
||||
var escMessage = message.replace(/</g, '<').replace(/>/g, '>').replace(/\n/g, '<br/>'); //Strophe already escapes special symbols on sending, so we escape here only tags to avoid double &
|
||||
var escDisplayName = Util.escapeHtml(displayName);
|
||||
message = processReplacements(escMessage);
|
||||
|
||||
|
|
Loading…
Reference in New Issue