mirror of https://gitlab.com/bashrc2/epicyon
Replace tabs with spaces
parent
8f99801878
commit
a7937ba394
|
@ -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>') + \
|
||||
|
|
Loading…
Reference in New Issue