Node.js based forum software built for the modern web
fix: add one more escape for title
Barış Soner Uşaklıb87369363065
diff --git a/public/src/modules/helpers.common.js b/public/src/modules/helpers.common.jsindex 83acd0849c..082fb56079 100644--- a/public/src/modules/helpers.common.js+++ b/public/src/modules/helpers.common.js@@ -554,7 +554,7 @@ module.exports = function (utils, Benchpress, tx, relative_path) {if (!text || !emojiMeta || !emojiMeta.length) {return String(escape(text) || '');}- let result = String(text);+ let result = escape(text);for (const { clean, hostname } of emojiMeta) {const code = `:${clean}:`;const proxyUrl = `/emoji/ap/${encodeURIComponent(clean)}/${encodeURIComponent(hostname)}`;