diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2022-07-09 15:36:20 +0200 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2022-07-09 15:36:20 +0200 |
| commit | 872109176e64d35d361a73515eddd807a46a7559 (patch) | |
| tree | 042bfc299ca915679e1d0eab78f5df349dc435f7 /helpers.py | |
| parent | b772fd747344362aa62fad40431b5055de4af172 (diff) | |
| download | quatuorbellefeuille.com-872109176e64d35d361a73515eddd807a46a7559.tar.xz | |
Add telephone links for concert information
Diffstat (limited to 'helpers.py')
| -rw-r--r-- | helpers.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -150,6 +150,7 @@ _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'\[([^]]+)\]\((tel:[+\d]+)\)'), r'<a href="\2">\1</a>'), (re.compile('([^ ]+@[^ ]+)'), r'<a href="mailto:\1">\1</a>'), ) |
