forked from indymedia/epicyon
Substitute line break with paragraph
parent
120c425ea3
commit
c529c42a21
|
@ -2620,7 +2620,7 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \
|
||||||
|
|
||||||
# add an extra line if there is a content warning, for better vertical spacing on mobile
|
# add an extra line if there is a content warning, for better vertical spacing on mobile
|
||||||
if postJsonObject['object']['sensitive'] or attachmentStr:
|
if postJsonObject['object']['sensitive'] or attachmentStr:
|
||||||
footerStr='<br>'+footerStr
|
footerStr='<p> </p>'+footerStr
|
||||||
|
|
||||||
if not postJsonObject['object'].get('summary'):
|
if not postJsonObject['object'].get('summary'):
|
||||||
postJsonObject['object']['summary']=''
|
postJsonObject['object']['summary']=''
|
||||||
|
|
Loading…
Reference in New Issue