diff --git a/javascripts/discourse/initializers/category-icons.js b/javascripts/discourse/initializers/category-icons.js index 863d4e9..6e90f4f 100644 --- a/javascripts/discourse/initializers/category-icons.js +++ b/javascripts/discourse/initializers/category-icons.js @@ -63,7 +63,9 @@ export default { function categoryIconsRenderer(category, opts) { let siteSettings = helperContext().siteSettings; - let descriptionText = get(category, "description_text"); + let descriptionText = escapeExpression( + get(category, "description_text") + ); let restricted = get(category, "read_restricted"); let url = opts.url ? opts.url