mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-29 01:56:12 +01:00
* Fix #5592 Escape translation tokens in topic titles, descriptions, profile about, and post contents * Fix tests
This commit is contained in:
committed by
psychobunny
parent
c3febca9c8
commit
1fb48ef7a7
@@ -73,6 +73,7 @@ module.exports = function (Posts) {
|
||||
};
|
||||
|
||||
function sanitizeSignature(signature) {
|
||||
signature = translator.escape(signature);
|
||||
var string = S(signature);
|
||||
var tagsToStrip = [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user