Replace quotes

main
Bob Mottram 2021-03-01 16:04:19 +00:00
parent 47be751f47
commit 8f8c70ed6a
1 changed files with 2 additions and 1 deletions

View File

@ -80,6 +80,7 @@ from happening import saveEventPost
from delete import removeOldHashtags from delete import removeOldHashtags
from categories import guessHashtagCategory from categories import guessHashtagCategory
from context import hasValidContext from context import hasValidContext
from content import htmlReplaceQuoteMarks
def storeHashTags(baseDir: str, nickname: str, postJsonObject: {}) -> None: def storeHashTags(baseDir: str, nickname: str, postJsonObject: {}) -> None:
@ -2153,7 +2154,7 @@ def _updateSpeaker(baseDir: str, nickname: str, domain: str,
speakerFilename = \ speakerFilename = \
baseDir + '/accounts/' + nickname + '@' + domain + '/speaker.json' baseDir + '/accounts/' + nickname + '@' + domain + '/speaker.json'
content = urllib.parse.unquote_plus(postJsonObject['object']['content']) content = urllib.parse.unquote_plus(postJsonObject['object']['content'])
content = removeHtml(content) content = removeHtml(htmlReplaceQuoteMarks(content))
summary = '' summary = ''
if postJsonObject['object'].get('summary'): if postJsonObject['object'].get('summary'):
if isinstance(postJsonObject['object']['summary'], str): if isinstance(postJsonObject['object']['summary'], str):