diff options
-rw-r--r-- | modules/mensa.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/modules/mensa.py b/modules/mensa.py index 2e073d3..1baf60f 100644 --- a/modules/mensa.py +++ b/modules/mensa.py @@ -102,13 +102,14 @@ class Module(ModuleBase): s = s.replace('ü', 'ü') s = s.replace('Ü', 'Ü') s = s.replace('ß', 'ß') - s = s.replace('&', '&') - s = s.replace('<', '<') - s = s.replace('>', '>') - s = s.replace('"', '"') + s = s.replace('é', 'é') s = s.replace('“', '“') s = s.replace('„', '„') s = s.replace('–', '–') + s = s.replace('"', '"') + s = s.replace('<', '<') + s = s.replace('>', '>') + s = s.replace('&', '&') s = s.replace('<br />', ' ') s = re.sub(r'-\s+', '-', s) s = re.sub(r'\s+', ' ', s) |