mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-07 10:56:09 +02:00
fix: #13888, decode html entities for AP category name and description
This commit is contained in:
@@ -576,9 +576,9 @@ Mocks.actors.category = async (cid) => {
|
||||
outbox: `${nconf.get('url')}/category/${cid}/outbox`,
|
||||
|
||||
type: 'Group',
|
||||
name,
|
||||
name: utils.decodeHTMLEntities(name),
|
||||
preferredUsername,
|
||||
summary,
|
||||
summary: utils.decodeHTMLEntities(summary),
|
||||
// image, // todo once categories have cover photos
|
||||
icon,
|
||||
postingRestrictedToMods: !canPost,
|
||||
|
||||
Reference in New Issue
Block a user