forked from indymedia/epicyon
Use content string
parent
909842fa54
commit
05b8da4c0e
|
@ -3978,10 +3978,8 @@ def individualPostAsHtml(recentPostsCache: {}, maxRecentPosts: int,
|
||||||
postJsonObject['object']['content']):
|
postJsonObject['object']['content']):
|
||||||
contentStr = '<div class="message">' + contentStr + '</div>'
|
contentStr = '<div class="message">' + contentStr + '</div>'
|
||||||
else:
|
else:
|
||||||
patchStr = gitFormatContent(postJsonObject['object']['content'])
|
|
||||||
patchStr = patchStr.replace('\n','<br>').replace('\t',' ')
|
|
||||||
contentStr = \
|
contentStr = \
|
||||||
'<div class="gitpatch">' + patchStr + '</div>'
|
'<div class="gitpatch">' + contentStr + '</div>'
|
||||||
|
|
||||||
postHtml = ''
|
postHtml = ''
|
||||||
if boxName != 'tlmedia':
|
if boxName != 'tlmedia':
|
||||||
|
|
Loading…
Reference in New Issue