Extra removal

merge-requests/26/head
Bob Mottram 2022-01-14 19:05:26 +00:00
parent e3a702efe6
commit 0bc49a476b
1 changed files with 1 additions and 1 deletions

View File

@ -495,7 +495,7 @@ def safe_web_text(arbitrary_html: str) -> str:
if not safe_text:
return ''
# remove any spurious characters found in podcast descriptions
remove_chars = ('Œ', 'â€', 'ğŸ', '<EFBFBD>', ']]')
remove_chars = ('Œ', 'â€', 'ğŸ', '<EFBFBD>', ']]', '__')
for remchar in remove_chars:
safe_text = safe_text.replace(remchar, '')
# recreate any url links safely