diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2010-10-27 11:37:31 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2010-10-27 11:37:31 +0200 |
commit | c33aea37f26d9779132a4126de0b62245654cbd2 (patch) | |
tree | 846438f979f57f082215ec25c66e44ebd67e504a /modules | |
parent | 984fa1addf3b0ad694978d244ccd73123ca30608 (diff) | |
download | curunir-c33aea37f26d9779132a4126de0b62245654cbd2.tar curunir-c33aea37f26d9779132a4126de0b62245654cbd2.zip |
mensa: Added é entity
Diffstat (limited to 'modules')
-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) |