diff --git a/webinterface.py b/webinterface.py index dbe7969f1..9ac7a25c4 100644 --- a/webinterface.py +++ b/webinterface.py @@ -1009,14 +1009,14 @@ def htmlRemplaceEmojiFromTags(content: str,tag: {}) -> str: content=content.replace(tagItem['name'],emojiHtml) return content -def addEmbeddedVideo(content: str,width=100) -> str: +def addEmbeddedVideo(content: str) -> str: """Adds embedded videos """ if '>vimeo.com/' in content: url=content.split('>vimeo.com/')[1] if '<' in url: url=url.split('<')[0] - content=content+"" + content=content+"" return content def individualPostAsHtml(baseDir: str, \