mirror of https://gitlab.com/bashrc2/epicyon
Preserve line endings for speaker
parent
b324d7ab82
commit
b64f7e1bfa
1
inbox.py
1
inbox.py
|
@ -2167,6 +2167,7 @@ def _updateSpeaker(baseDir: str, nickname: str, domain: str,
|
|||
detectedLinks = []
|
||||
content = urllib.parse.unquote_plus(postJsonObject['object']['content'])
|
||||
content = html.unescape(content)
|
||||
content = content.replace('<p>', '').replace('</p>', ' ')
|
||||
content = removeHtml(htmlReplaceQuoteMarks(content))
|
||||
content = speakerReplaceLinks(content, translate, detectedLinks)
|
||||
content = speakerPronounce(baseDir, content, translate)
|
||||
|
|
Loading…
Reference in New Issue