From 40805f2ae0bd8331f13861540a51f8ddad07daea Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 19 Aug 2019 12:02:35 +0100 Subject: [PATCH] Don't replace . --- content.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/content.py b/content.py index b7b540c7..b8353cee 100644 --- a/content.py +++ b/content.py @@ -149,8 +149,7 @@ def addHtmlTags(baseDir: str,httpPrefix: str, \ """ if content.startswith('

'): return content - wordsOnly=content.replace(',',' ').replace(';',' ').replace('.',' ') - words=wordsOnly.split(' ') + words=content.replace(',',' ').replace(';',' ') replaceMentions={} replaceHashTags={} replaceEmoji={}