Avoid emboldening words containing and

main
Bob Mottram 2022-03-24 14:46:22 +00:00
parent 65f26f4046
commit c7ed262691
1 changed files with 1 additions and 1 deletions

View File

@ -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 = ''