mirror of https://gitlab.com/bashrc2/epicyon
Extra characters to remove
parent
b4b6af70f5
commit
eabfdd367c
|
@ -37,7 +37,7 @@ def speakerReplaceLinks(sayText: str, translate: {}) -> str:
|
|||
"""Replaces any links in the given text with "link to [domain]".
|
||||
Instead of reading out potentially very long and meaningless links
|
||||
"""
|
||||
removeChars = ('.', ',', ';', ':')
|
||||
removeChars = ('.', ',', ';', ':', '?', '!')
|
||||
text = sayText
|
||||
for ch in removeChars:
|
||||
text = text.replace(ch, ' ')
|
||||
|
|
Loading…
Reference in New Issue