restyle the fields

This commit is contained in:
Shpuld Shpuldson 2020-06-17 18:26:06 +03:00
parent f8cf92a01f
commit 580fcd3ad9
2 changed files with 18 additions and 8 deletions

View file

@ -58,8 +58,8 @@ export const parseUser = (data) => {
})
output.fields_text = data.fields.map(field => {
return {
name: field.name.replace(/<[^>]*>/g, ''),
value: field.value.replace(/<[^>]*>/g, '')
name: unescape(field.name.replace(/<[^>]*>/g, '')),
value: unescape(field.value.replace(/<[^>]*>/g, ''))
}
})