diff --git a/webinterface.py b/webinterface.py index 36e6c371e..6110be33b 100644 --- a/webinterface.py +++ b/webinterface.py @@ -77,6 +77,8 @@ def htmlSearchEmoji(baseDir: str,searchStr: str) -> str: for emojiName,filename in emojiJson.items(): if emojiName in searchStr: results[emojiName] = filename+'.png' + if len(results.items())>0: + emojiForm+='
Copy the text then paste it into your post
' emojiForm+='
' for emojiName,filename in results.items(): emojiForm+='

:'+emojiName+':

'