quatuorbellefeuille.com

Content, build scripts and admin scripts for the Bellefeuille Quartet website.
git clone https://git.kevinlegouguec.net/quatuorbellefeuille.com
Log | Files | Refs

commit 872109176e64d35d361a73515eddd807a46a7559
parent b772fd747344362aa62fad40431b5055de4af172
Author: Kévin Le Gouguec <kevin.legouguec@gmail.com>
Date:   Sat,  9 Jul 2022 15:36:20 +0200

Add telephone links for concert information

Diffstat:
Mhelpers.py | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/helpers.py b/helpers.py @@ -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>'), )