summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/mensa.py9
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('&lt;', '<')
- s = s.replace('&gt;', '>')
- s = s.replace('&quot;', '"')
+ s = s.replace('&eacute;', 'é')
s = s.replace('&ldquo;', '“')
s = s.replace('&bdquo;', '„')
s = s.replace('&ndash;', '–')
+ s = s.replace('&quot;', '"')
+ s = s.replace('&lt;', '<')
+ s = s.replace('&gt;', '>')
+ s = s.replace('&amp;', '&')
s = s.replace('<br />', ' ')
s = re.sub(r'-\s+', '-', s)
s = re.sub(r'\s+', ' ', s)