forked from indymedia/epicyon
Add blog content
parent
4b488526ba
commit
3400535777
|
@ -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 = \
|
||||||
|
|
Loading…
Reference in New Issue