Remove css style from post content

main
Bob Mottram 2023-02-19 11:48:09 +00:00
parent 2d9f4a3681
commit fdd0b34e33
1 changed files with 2 additions and 0 deletions

View File

@ -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)