mirror of
https://github.com/discourse/discourse-category-icons.git
synced 2025-02-16 08:24:53 +00:00
UX: escape category title (#27)
This commit is contained in:
parent
2b483df566
commit
68e6629b49
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user