mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-18 10:30:49 +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({
|
||||
type: 'Link',
|
||||
name,
|
||||
href: value,
|
||||
href: validator.unescape(value),
|
||||
});
|
||||
} else {
|
||||
attachment.push({
|
||||
@@ -467,7 +467,7 @@ Mocks.actors.user = async (uid) => {
|
||||
attachment.push({
|
||||
type: 'PropertyValue',
|
||||
name,
|
||||
value,
|
||||
value: validator.unescape(value),
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user