forked from indymedia/epicyon
Apply replacements within content warnings
parent
c515b8a5bd
commit
48fbe27849
|
@ -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 += \
|
||||||
|
|
Loading…
Reference in New Issue