mirror of https://gitlab.com/bashrc2/epicyon
Extra line
parent
aad70a5970
commit
356f8f95fa
6
blog.py
6
blog.py
|
@ -239,8 +239,7 @@ def htmlBlogPostContent(authorized: bool,
|
||||||
if replies > 0:
|
if replies > 0:
|
||||||
if not authorized:
|
if not authorized:
|
||||||
blogStr += '<p class="blogreplies">' + \
|
blogStr += '<p class="blogreplies">' + \
|
||||||
translate['Replies'].lower() + ': ' + str(replies) + \
|
translate['Replies'].lower() + ': ' + str(replies)
|
||||||
'</p>'
|
|
||||||
else:
|
else:
|
||||||
blogStr += '<h1>' + translate['Replies'] + '</h1>\n'
|
blogStr += '<h1>' + translate['Replies'] + '</h1>\n'
|
||||||
blogStr += '<script>' + contentWarningScriptOpen() + '</script>\n'
|
blogStr += '<script>' + contentWarningScriptOpen() + '</script>\n'
|
||||||
|
@ -253,8 +252,7 @@ def htmlBlogPostContent(authorized: bool,
|
||||||
nickname, domain, domainFull,
|
nickname, domain, domainFull,
|
||||||
postJsonObject['object']['id'])
|
postJsonObject['object']['id'])
|
||||||
blogStr += blogRepliesStr.replace('>' + titleStr + '<', '')
|
blogStr += blogRepliesStr.replace('>' + titleStr + '<', '')
|
||||||
blogStr += '<br>'
|
blogStr += '<br><br><hr>\n'
|
||||||
blogStr += '<hr>\n'
|
|
||||||
return blogStr
|
return blogStr
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue