FIX: escape category description text (#24724)

This commit is contained in:
Kris 2023-12-05 15:48:13 -05:00 committed by GitHub
parent d4c02d738b
commit b65f281842
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ function buildTopicCount(count) {
}
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 url = opts.url
? opts.url