Apply replacements within content warnings

alt-html-css
Bob Mottram 2020-12-26 17:03:53 +00:00
parent c515b8a5bd
commit 48fbe27849
1 changed files with 2 additions and 0 deletions

View File

@ -1506,6 +1506,8 @@ def individualPostAsHtml(allowDownloads: bool,
cwContentStr = \ cwContentStr = \
insertQuestion(baseDir, translate, nickname, domain, port, insertQuestion(baseDir, translate, nickname, domain, port,
cwContentStr, postJsonObject, pageNumber) cwContentStr, postJsonObject, pageNumber)
cwContentStr = \
switchWords(baseDir, nickname, domain, cwContentStr)
if not isBlogPost(postJsonObject): if not isBlogPost(postJsonObject):
# get the content warning button # get the content warning button
contentStr += \ contentStr += \