FIX: escape category description text (#24724)
This commit is contained in:
parent
d4c02d738b
commit
b65f281842
|
@ -103,7 +103,7 @@ function buildTopicCount(count) {
|
||||||
}
|
}
|
||||||
|
|
||||||
export function defaultCategoryLinkRenderer(category, opts) {
|
export function defaultCategoryLinkRenderer(category, opts) {
|
||||||
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