mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-06 15:06:38 +02:00
fix: #11761, don't escape topic title twice
if a reply is being edited topicData.title is already escaped
This commit is contained in:
@@ -112,7 +112,7 @@ module.exports = function (Posts) {
|
||||
return {
|
||||
tid: tid,
|
||||
cid: topicData.cid,
|
||||
title: validator.escape(String(topicData.title)),
|
||||
title: topicData.title,
|
||||
isMainPost: false,
|
||||
renamed: false,
|
||||
tagsupdated: false,
|
||||
|
||||
Reference in New Issue
Block a user