diff --git a/pgp.py b/pgp.py index 1712e611e..ff6ef04fd 100644 --- a/pgp.py +++ b/pgp.py @@ -636,7 +636,7 @@ def actor_to_vcard(actor: {}) -> str: vcard_str = 'BEGIN:VCARD\n' vcard_str += 'VERSION:4.0\n' vcard_str += 'REV:' + actor['published'] + '\n' - vcard_str += 'FN:' + actor['name'] + '\n' + vcard_str += 'FN:' + remove_html(actor['name']) + '\n' vcard_str += 'NICKNAME:' + actor['preferredUsername'] + '\n' vcard_str += 'URL:' + actor['url'] + '\n' blog_address = get_blog_address(actor) @@ -690,7 +690,8 @@ def actor_to_vcard_xml(actor: {}) -> str: vcard_str = '\n' vcard_str += '\n' vcard_str += ' \n' - vcard_str += ' ' + actor['name'] + '\n' + vcard_str += ' ' + \ + remove_html(actor['name']) + '\n' vcard_str += ' ' + \ actor['preferredUsername'] + '\n' vcard_str += ' ' + \