From c7ed2626913f8bc7e0d463a6fe11da19fff78290 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 24 Mar 2022 14:46:22 +0000 Subject: [PATCH] Avoid emboldening words containing and --- content.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content.py b/content.py index 64da22c89..de7838e39 100644 --- a/content.py +++ b/content.py @@ -1349,7 +1349,7 @@ def bold_reading_string(text: str) -> str: reading_markup = False if not reading_markup and len(wrd) > 1 and \ '<' not in wrd and '>' not in wrd and \ - not wrd.startswith(':'): + '&' not in wrd and not wrd.startswith(':'): prefix = '' postfix = ''