From 1a5ed483bb1b9ea081451d01383d7f3758003a01 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 23 Sep 2019 12:39:58 +0100 Subject: [PATCH] Switch arguments --- webinterface.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/webinterface.py b/webinterface.py index da90ba160..496db069d 100644 --- a/webinterface.py +++ b/webinterface.py @@ -1745,10 +1745,10 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \ if displayName: if ':' in displayName: displayName=displayName.replace('

','').replace('

','') - emojiTags={} + emojiTags=[] displayName= \ addHtmlTags(baseDir,httpPrefix, \ - nickname,domain,displayName,[],emojiTags) + nickname,domain,displayName,emojiTags,{}) displayName=displayName.replace('

','').replace('

','') displayName=htmlReplaceEmojiFromTags(displayName,emojiTags) titleStr+=''+displayName+'' @@ -1875,10 +1875,10 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \ if displayName: if ':' in displayName: displayName=displayName.replace('

','').replace('

','') - emojiTags={} + emojiTags=[] displayName= \ addHtmlTags(baseDir,httpPrefix, \ - nickname,domain,displayName,[],emojiTags) + nickname,domain,displayName,emojiTags,{}) displayName=displayName.replace('

','').replace('

','') displayName=htmlReplaceEmojiFromTags(displayName,emojiTags) titleStr=displayName+' '+titleStr