mirror of https://gitlab.com/bashrc2/epicyon
Remove css style from post content
parent
2d9f4a3681
commit
fdd0b34e33
|
@ -2529,6 +2529,8 @@ def individual_post_as_html(signing_priv_key_pem: str,
|
||||||
if not content_str:
|
if not content_str:
|
||||||
content_str = get_content_from_post(post_json_object, system_language,
|
content_str = get_content_from_post(post_json_object, system_language,
|
||||||
languages_understood)
|
languages_understood)
|
||||||
|
# remove any css styling within the post itself
|
||||||
|
content_str = remove_style_within_html(content_str)
|
||||||
content_language = \
|
content_language = \
|
||||||
get_language_from_post(post_json_object, system_language,
|
get_language_from_post(post_json_object, system_language,
|
||||||
languages_understood)
|
languages_understood)
|
||||||
|
|
Loading…
Reference in New Issue