mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-06 12:31:33 +01:00
string is removed on develop
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user