diff --git a/utils.py b/utils.py index 6f77922aa..31788e79f 100644 --- a/utils.py +++ b/utils.py @@ -3942,3 +3942,12 @@ def remove_square_capitals(text: str, system_language: str) -> str: else: result += chr(offset + text_value - start_value) return result + + +def dont_speak_hashtags(content: str) -> str: + """Ensure that hashtags aren't announced by screen readers + """ + if not content: + return content + return content.replace('>##