From 0f7e6d5e410dfaddf78ff0888269853abab4e8d7 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 4 Mar 2021 12:48:16 +0000 Subject: [PATCH] Extra replacement --- speaker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/speaker.py b/speaker.py index 9fca9f583..6ee4ebe6c 100644 --- a/speaker.py +++ b/speaker.py @@ -373,7 +373,7 @@ def _postToSpeakerJson(baseDir: str, nickname: str, domain: str, content = removeHtml(htmlReplaceQuoteMarks(content)) content = speakerReplaceLinks(content, translate, detectedLinks) content = _speakerPronounce(baseDir, content, translate) - content = content.replace(' ', ' ') + content = content.replace(' ', ' ').replace(' . ', '. ') imageDescription = '' if postJsonObject['object'].get('attachment'):