main
Bob Mottram 2020-05-02 19:42:55 +00:00
parent a7937ba394
commit 909842fa54
1 changed files with 1 additions and 3 deletions

View File

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