Use content string

main
Bob Mottram 2020-05-02 19:45:34 +00:00
parent 909842fa54
commit 05b8da4c0e
1 changed files with 1 additions and 3 deletions

View File

@ -3978,10 +3978,8 @@ def individualPostAsHtml(recentPostsCache: {}, maxRecentPosts: int,
postJsonObject['object']['content']):
contentStr = '<div class="message">' + contentStr + '</div>'
else:
patchStr = gitFormatContent(postJsonObject['object']['content'])
patchStr = patchStr.replace('\n','<br>').replace('\t',' ')
contentStr = \
'<div class="gitpatch">' + patchStr + '</div>'
'<div class="gitpatch">' + contentStr + '</div>'
postHtml = ''
if boxName != 'tlmedia':