mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-06 08:55:36 +02:00
fix html characters when cloning children categories
This commit is contained in:
@@ -122,6 +122,8 @@ module.exports = function (Categories) {
|
||||
child.parentCid = parentCid;
|
||||
child.cloneFromCid = child.cid;
|
||||
child.cloneChildren = true;
|
||||
child.name = utils.decodeHTMLEntities(child.name);
|
||||
child.description = utils.decodeHTMLEntities(child.description);
|
||||
child.uid = uid;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user