diff --git a/webapp_post.py b/webapp_post.py index 7db2d5f42..8b8ff128e 100644 --- a/webapp_post.py +++ b/webapp_post.py @@ -2789,6 +2789,13 @@ def individual_post_as_html(signing_priv_key_pem: str, if not summary_str: summary_str = get_summary_from_post(post_json_object, system_language, languages_understood) + if content_str: + # add dogwhistle warnings to summary + summary_str = _add_dogwhistle_warnings(summary_str, content_str, + dogwhistles, translate) + # add automatic content warnings + summary_str = add_auto_cw(base_dir, nickname, domain, + summary_str, content_str) _log_post_timing(enable_timing_log, post_start_time, '16')