From f5d2a08f184fe0a98866a7d5ab3e7a332a3beef9 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 10 May 2022 10:03:21 +0100 Subject: [PATCH] Remove any html from bio on edit profile screen --- webapp_profile.py | 1 + 1 file changed, 1 insertion(+) diff --git a/webapp_profile.py b/webapp_profile.py index 1d1bfb244..fbb29ca8d 100644 --- a/webapp_profile.py +++ b/webapp_profile.py @@ -2237,6 +2237,7 @@ def html_edit_profile(server, css_cache: {}, translate: {}, actor_json['summary'].replace('

', '').replace('

', '') 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'