summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2010-07-07 21:18:56 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2010-07-07 21:18:56 +0200
commit106f39d5b58cff3443eb19c7a4f3994cb1ba4d87 (patch)
tree4544c9eb5b0521fc390ae99b16c9f1db65f1c1ee /modules
parent50ae546613b7f2ed26631fffc8961bf6cb12a53c (diff)
downloadcurunir-106f39d5b58cff3443eb19c7a4f3994cb1ba4d87.tar
curunir-106f39d5b58cff3443eb19c7a4f3994cb1ba4d87.zip
Added &ndash; entity
Diffstat (limited to 'modules')
-rw-r--r--modules/mensa.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/mensa.py b/modules/mensa.py
index 140c3c7..2e073d3 100644
--- a/modules/mensa.py
+++ b/modules/mensa.py
@@ -108,6 +108,7 @@ class Module(ModuleBase):
s = s.replace('&quot;', '"')
s = s.replace('&ldquo;', '“')
s = s.replace('&bdquo;', '„')
+ s = s.replace('&ndash;', '–')
s = s.replace('<br />', ' ')
s = re.sub(r'-\s+', '-', s)
s = re.sub(r'\s+', ' ', s)