Node.js based forum software built for the modern web
fix html characters when cloning children categories
Andrew Rodriguesa06b33a713e0
diff --git a/src/categories/create.js b/src/categories/create.jsindex c4cf728701..55e434f1a0 100644--- a/src/categories/create.js+++ b/src/categories/create.js@@ -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;});