Add blog content

main
Bob Mottram 2020-07-03 11:24:27 +01:00
parent 4b488526ba
commit 3400535777
1 changed files with 4 additions and 1 deletions

View File

@ -4184,7 +4184,10 @@ def individualPostAsHtml(recentPostsCache: {}, maxRecentPosts: int,
cwContentStr, postJsonObject, pageNumber) cwContentStr, postJsonObject, pageNumber)
if not isBlogPost(postJsonObject): if not isBlogPost(postJsonObject):
# get the content warning button # get the content warning button
contentStr += getContentWarningButton(postID, translate, cwContentStr) contentStr += \
getContentWarningButton(postID, translate, cwContentStr)
else:
contentStr += cwContentStr
if postJsonObject['object'].get('tag') and not isPatch: if postJsonObject['object'].get('tag') and not isPatch:
contentStr = \ contentStr = \