UX: escape category title (#27)
This commit is contained in:
parent
2b483df566
commit
68e6629b49
|
@ -63,7 +63,9 @@ export default {
|
||||||
|
|
||||||
function categoryIconsRenderer(category, opts) {
|
function categoryIconsRenderer(category, opts) {
|
||||||
let siteSettings = helperContext().siteSettings;
|
let siteSettings = helperContext().siteSettings;
|
||||||
let descriptionText = get(category, "description_text");
|
let descriptionText = escapeExpression(
|
||||||
|
get(category, "description_text")
|
||||||
|
);
|
||||||
let restricted = get(category, "read_restricted");
|
let restricted = get(category, "read_restricted");
|
||||||
let url = opts.url
|
let url = opts.url
|
||||||
? opts.url
|
? opts.url
|
||||||
|
|
Loading…
Reference in New Issue