Extra characters removal

merge-requests/22/merge
Bob Mottram 2022-01-14 09:17:33 +00:00
parent 838868e811
commit 786d53622b
1 changed files with 1 additions and 1 deletions

View File

@ -211,7 +211,7 @@ def html_podcast_episode(css_cache: {}, translate: {},
html.unescape(urllib.parse.unquote_plus(newswire_item[4]))
podcast_description = remove_html(podcast_description)
if podcast_description:
remove_chars = ('Œ', 'â€', 'ğŸ', '<EFBFBD>')
remove_chars = ('Œ', 'â€', 'ğŸ', '<EFBFBD>', ']]')
for remchar in remove_chars:
podcast_description = podcast_description.replace(remchar, '')
podcast_str += '<p>' + podcast_description + '</p>\n'