mirror of https://gitlab.com/bashrc2/epicyon
Remove any html from pronouns
parent
d31c357ca8
commit
25a724bde6
|
@ -87,12 +87,12 @@ def set_pronouns(actor_json: {}, pronouns: str) -> None:
|
||||||
get_attachment_property_value(property_value)
|
get_attachment_property_value(property_value)
|
||||||
if not prop_value_name:
|
if not prop_value_name:
|
||||||
continue
|
continue
|
||||||
property_value[prop_value_name] = pronouns
|
property_value[prop_value_name] = remove_html(pronouns)
|
||||||
return
|
return
|
||||||
|
|
||||||
new_pronouns = {
|
new_pronouns = {
|
||||||
"type": "PropertyValue",
|
"type": "PropertyValue",
|
||||||
"name": "Pronouns",
|
"name": "Pronouns",
|
||||||
"value": pronouns
|
"value": remove_html(pronouns)
|
||||||
}
|
}
|
||||||
actor_json['attachment'].append(new_pronouns)
|
actor_json['attachment'].append(new_pronouns)
|
||||||
|
|
Loading…
Reference in New Issue