Extra replace

main2
Bob Mottram 2019-11-01 10:27:17 +00:00
parent 9412c01223
commit fdd8ecc918
1 changed files with 3 additions and 0 deletions

View File

@ -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='<div class="message">'+contentStr+'</div>'
postHtml=''