stop removal of ascii characters

master
azzy9 4 months ago
parent 74cf98a0f3
commit 08742d4afd

@ -155,7 +155,7 @@ def clean_text( text ):
""" Removes characters that can cause trouble """
text = text.encode('ascii', 'ignore').decode('ascii').strip()
text = text.strip()
if r'&' in text:
text = text.replace(r'&', '&')

Loading…
Cancel
Save