Replace tabs with spaces

main
Bob Mottram 2020-05-02 19:42:26 +00:00
parent 8f99801878
commit a7937ba394
1 changed files with 1 additions and 0 deletions

View File

@ -3979,6 +3979,7 @@ def individualPostAsHtml(recentPostsCache: {}, maxRecentPosts: int,
contentStr = '<div class="message">' + contentStr + '</div>'
else:
patchStr = gitFormatContent(postJsonObject['object']['content'])
patchStr = patchStr.replace('\n','<br>').replace('\t',' ')
contentStr = \
'<div class="gitpatch">' + \
patchStr.replace('\n','<br>') + \