From fdd8ecc91847ff0cf7e1fc4d860e87334cf3788c Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 1 Nov 2019 10:27:17 +0000 Subject: [PATCH] Extra replace --- webinterface.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/webinterface.py b/webinterface.py index 54da2a532..2499ff095 100644 --- a/webinterface.py +++ b/webinterface.py @@ -2125,6 +2125,9 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \ if postJsonObject['object'].get('tag'): contentStr=replaceEmojiFromTags(contentStr,postJsonObject['object']['tag'],'content') + # replace 's + contentStr=contentStr.replace("\ufffd\ufffd\ufffds","'s") + contentStr='
'+contentStr+'
' postHtml=''