From fdd0b34e338dfe714ba10263f7c024645173359a Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 19 Feb 2023 11:48:09 +0000 Subject: [PATCH] Remove css style from post content --- webapp_post.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webapp_post.py b/webapp_post.py index 54e15755d..79ed81a8a 100644 --- a/webapp_post.py +++ b/webapp_post.py @@ -2529,6 +2529,8 @@ def individual_post_as_html(signing_priv_key_pem: str, if not content_str: content_str = get_content_from_post(post_json_object, system_language, languages_understood) + # remove any css styling within the post itself + content_str = remove_style_within_html(content_str) content_language = \ get_language_from_post(post_json_object, system_language, languages_understood)