mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
fix: category description getting translated in ACP
This commit is contained in:
@@ -34,6 +34,7 @@ categoriesController.get = async function (req, res, next) {
|
||||
allCategories: allCategories,
|
||||
});
|
||||
data.category.name = translator.escape(String(data.category.name));
|
||||
data.category.description = translator.escape(String(data.category.description));
|
||||
|
||||
res.render('admin/manage/category', {
|
||||
category: data.category,
|
||||
|
||||
Reference in New Issue
Block a user