summaryrefslogtreecommitdiff
path: root/helpers.py
diff options
context:
space:
mode:
Diffstat (limited to 'helpers.py')
-rw-r--r--helpers.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/helpers.py b/helpers.py
index 3b0fee1..e3ce938 100644
--- a/helpers.py
+++ b/helpers.py
@@ -138,6 +138,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(r'\[([^]]+)\]\((https?://[^ ]+)\)'), r'<a href="\2" target="_blank">\1</a>'),
(re.compile('([^ ]+@[^ ]+)'), r'<a href="mailto:\1">\1</a>'),
)