Remove any html from bio on edit profile screen

main
Bob Mottram 2022-05-10 10:03:21 +01:00
parent 9eaf4c4cdc
commit f5d2a08f18
1 changed files with 1 additions and 0 deletions

View File

@ -2237,6 +2237,7 @@ def html_edit_profile(server, css_cache: {}, translate: {},
actor_json['summary'].replace('<p>', '').replace('</p>', '')
if is_filtered(base_dir, nickname, domain, bio_str):
bio_str = ''
bio_str = remove_html(bio_str)
if actor_json.get('manuallyApprovesFollowers'):
if actor_json['manuallyApprovesFollowers']:
manually_approves_followers = 'checked'