From 05b8da4c0efd87ed2ac8fb2da23979c2f6295921 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 2 May 2020 19:45:34 +0000 Subject: [PATCH] Use content string --- webinterface.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/webinterface.py b/webinterface.py index 8ccae798..122cecb4 100644 --- a/webinterface.py +++ b/webinterface.py @@ -3978,10 +3978,8 @@ def individualPostAsHtml(recentPostsCache: {}, maxRecentPosts: int, postJsonObject['object']['content']): contentStr = '
' + contentStr + '
' else: - patchStr = gitFormatContent(postJsonObject['object']['content']) - patchStr = patchStr.replace('\n','
').replace('\t',' ') contentStr = \ - '
' + patchStr + '
' + '
' + contentStr + '
' postHtml = '' if boxName != 'tlmedia':