string is removed on develop

v1.18.x
Barış Soner Uşaklı 7 years ago
parent 43bec4cb45
commit 3c45b3edb6

@ -72,7 +72,7 @@ function canGet(hook, callerUid, uid, callback) {
}
Messaging.parse = function (message, fromuid, uid, roomId, isNew, callback) {
message = S(message).stripTags().decodeHTMLEntities().s;
message = utils.decodeHTMLEntities(utils.stripHTMLTags(message));
message = validator.escape(String(message));
plugins.fireHook('filter:parse.raw', message, function (err, parsed) {

Loading…
Cancel
Save