Extra replace

main2
Bob Mottram 2019-11-01 10:19:21 +00:00
parent 273a8cd358
commit 9412c01223
1 changed files with 5 additions and 2 deletions

View File

@ -479,13 +479,16 @@ def createPostBase(baseDir: str,nickname: str, domain: str, port: int, \
# convert content to html
emojisDict={}
# replace 's
content=content.replace("\ufffd\ufffd\ufffds","'s").replace("","'")
# add tags
content= \
addHtmlTags(baseDir,httpPrefix, \
nickname,domain,content, \
mentionedRecipients, \
hashtagsDict,True)
# replace 's
content=content.replace("\ufffd\ufffd\ufffds","'s")
statusNumber,published = getStatusNumber()
postTo='https://www.w3.org/ns/activitystreams#Public'