From a92eb808b9657ef873b89911a8e51fab0d4e5e71 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 29 Aug 2019 09:49:22 +0100 Subject: [PATCH] Embedded videos appear inside of cw --- webinterface.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webinterface.py b/webinterface.py index eea67c78..470422fa 100644 --- a/webinterface.py +++ b/webinterface.py @@ -1481,6 +1481,7 @@ def individualPostAsHtml(baseDir: str, \ if not postJsonObject['object']['sensitive']: contentStr=postJsonObject['object']['content']+attachmentStr + contentStr=addEmbeddedVideo(contentStr) else: postID='post'+str(createPassword(8)) contentStr='' @@ -1493,12 +1494,12 @@ def individualPostAsHtml(baseDir: str, \ contentStr+='' contentStr+='
' contentStr+=postJsonObject['object']['content']+attachmentStr + contentStr=addEmbeddedVideo(contentStr) contentStr+='
' if postJsonObject['object'].get('tag'): contentStr=htmlRemplaceEmojiFromTags(contentStr,postJsonObject['object']['tag']) - contentStr=addEmbeddedVideo(contentStr) contentStr='
'+contentStr+'
' return \