mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-19 11:01:11 +01:00
fix: #13239, unescape custom user field values
This commit is contained in:
@@ -453,7 +453,7 @@ Mocks.actors.user = async (uid) => {
|
|||||||
attachment.push({
|
attachment.push({
|
||||||
type: 'Link',
|
type: 'Link',
|
||||||
name,
|
name,
|
||||||
href: value,
|
href: validator.unescape(value),
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
attachment.push({
|
attachment.push({
|
||||||
@@ -467,7 +467,7 @@ Mocks.actors.user = async (uid) => {
|
|||||||
attachment.push({
|
attachment.push({
|
||||||
type: 'PropertyValue',
|
type: 'PropertyValue',
|
||||||
name,
|
name,
|
||||||
value,
|
value: validator.unescape(value),
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user