Remove any html from pronouns

merge-requests/30/head
Bob Mottram 2024-08-12 14:15:21 +01:00
parent d31c357ca8
commit 25a724bde6
1 changed files with 2 additions and 2 deletions

View File

@ -87,12 +87,12 @@ def set_pronouns(actor_json: {}, pronouns: str) -> None:
get_attachment_property_value(property_value)
if not prop_value_name:
continue
property_value[prop_value_name] = pronouns
property_value[prop_value_name] = remove_html(pronouns)
return
new_pronouns = {
"type": "PropertyValue",
"name": "Pronouns",
"value": pronouns
"value": remove_html(pronouns)
}
actor_json['attachment'].append(new_pronouns)