diff --git a/src/backend/html_markdown.py b/src/backend/html_markdown.py index 9fe1d313..49cf5116 100644 --- a/src/backend/html_markdown.py +++ b/src/backend/html_markdown.py @@ -132,7 +132,7 @@ class HTMLProcessor: r"(?:/[/\-_.,a-z\d#%&?;=~]*)?(?:\([/\-_.,a-z\d#%&?;=~]*\))?)"), # mailto: and tel: - r"mailto:(?P[a-z0-9._-]+@(?P[a-z0-9_.-]+[a-z](?:\:\d+)?))", + r"mailto:(?P[a-z0-9._-]+@(?P[a-z0-9.-:]*[a-z\d]))", r"tel:(?P[0-9+-]+)(?P)", # magnet: