From 48fbe278494c64c33a6a67c470563db36a1b235b Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 26 Dec 2020 17:03:53 +0000 Subject: [PATCH] Apply replacements within content warnings --- webapp_post.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webapp_post.py b/webapp_post.py index 2daff330..c297e835 100644 --- a/webapp_post.py +++ b/webapp_post.py @@ -1506,6 +1506,8 @@ def individualPostAsHtml(allowDownloads: bool, cwContentStr = \ insertQuestion(baseDir, translate, nickname, domain, port, cwContentStr, postJsonObject, pageNumber) + cwContentStr = \ + switchWords(baseDir, nickname, domain, cwContentStr) if not isBlogPost(postJsonObject): # get the content warning button contentStr += \