Remove html from description

merge-requests/30/head
Bob Mottram 2022-02-16 11:16:15 +00:00
parent a21aad9511
commit 1ae8c909c3
1 changed files with 2 additions and 1 deletions

3
pgp.py
View File

@ -693,7 +693,8 @@ def actor_to_vcard_xml(actor: {}) -> str:
vcard_str += ' <fn><text>' + actor['name'] + '</text></fn>\n'
vcard_str += ' <nickname><text>' + \
actor['preferredUsername'] + '</text></nickname>\n'
vcard_str += ' <note><text>' + actor['summary'] + '</text></note>\n'
vcard_str += ' <note><text>' + \
remove_html(actor['summary']) + '</text></note>\n'
email_address = get_email_address(actor)
if email_address:
vcard_str += ' <email><text>' + email_address + '</text></email>\n'