forked from indymedia/epicyon
Replace tabs with spaces
parent
8f99801878
commit
a7937ba394
|
@ -3979,6 +3979,7 @@ def individualPostAsHtml(recentPostsCache: {}, maxRecentPosts: int,
|
||||||
contentStr = '<div class="message">' + contentStr + '</div>'
|
contentStr = '<div class="message">' + contentStr + '</div>'
|
||||||
else:
|
else:
|
||||||
patchStr = gitFormatContent(postJsonObject['object']['content'])
|
patchStr = gitFormatContent(postJsonObject['object']['content'])
|
||||||
|
patchStr = patchStr.replace('\n','<br>').replace('\t',' ')
|
||||||
contentStr = \
|
contentStr = \
|
||||||
'<div class="gitpatch">' + \
|
'<div class="gitpatch">' + \
|
||||||
patchStr.replace('\n','<br>') + \
|
patchStr.replace('\n','<br>') + \
|
||||||
|
|
Loading…
Reference in New Issue