From b4e6b505307eb52c3dd607622c26c70a2e084e9d Mon Sep 17 00:00:00 2001 From: Chrys Date: Fri, 10 Jan 2020 17:39:46 +0100 Subject: [PATCH] make punctuation for # work --- src/fenrirscreenreader/core/punctuationManager.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/fenrirscreenreader/core/punctuationManager.py b/src/fenrirscreenreader/core/punctuationManager.py index a84e9764..72877ae4 100644 --- a/src/fenrirscreenreader/core/punctuationManager.py +++ b/src/fenrirscreenreader/core/punctuationManager.py @@ -101,7 +101,8 @@ class punctuationManager(): if line.replace(" ","") == '': continue if line.replace(" ","").startswith("#"): - continue + if not line.replace(" ","").startswith("#:===:"): + continue if line.replace(" ","").upper().startswith("[") and \ line.replace(" ","").upper().endswith("DICT]"): currDictName = line[line.find('[') + 1 :line.upper().find('DICT]') + 4].upper()