summaryrefslogtreecommitdiff
path: root/helpers.py
diff options
context:
space:
mode:
Diffstat (limited to 'helpers.py')
-rw-r--r--helpers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers.py b/helpers.py
index 11a13ca..3b0fee1 100644
--- a/helpers.py
+++ b/helpers.py
@@ -137,7 +137,7 @@ def read_concerts(filename):
_TOUCHUPS = (
(re.compile('([0-9])(st|nd|rd|th|er|ère|nde|ème)'), r'\1<sup>\2</sup>'),
- (re.compile('(https://[^ ]+)'), r'<a href="\1" target="_blank">\1</a>'),
+ (re.compile('<(https?://[^ ]+)>'), r'<a href="\1" target="_blank">\1</a>'),
(re.compile('([^ ]+@[^ ]+)'), r'<a href="mailto:\1">\1</a>'),
)