Code format

main
Bob Mottram 2020-05-02 20:59:54 +00:00
parent faaeacc49c
commit 98a8359bcb
2 changed files with 1 additions and 2 deletions

View File

@ -271,7 +271,6 @@ a:link {
} }
.gitpatch { .gitpatch {
float: none;
width: 90%; width: 90%;
font-family: monospace; font-family: monospace;
} }

View File

@ -3986,7 +3986,7 @@ def individualPostAsHtml(recentPostsCache: {}, maxRecentPosts: int,
contentStr = '<div class="message">' + contentStr + '</div>' contentStr = '<div class="message">' + contentStr + '</div>'
else: else:
contentStr = \ contentStr = \
'<div class="gitpatch">' + contentStr + '</div>' '<div class="gitpatch"><pre><code>' + contentStr + '</code></pre></div>'
postHtml = '' postHtml = ''
if boxName != 'tlmedia': if boxName != 'tlmedia':