diff --git a/core/util.php b/core/util.php index aa4efb59..a6086f90 100644 --- a/core/util.php +++ b/core/util.php @@ -41,7 +41,7 @@ function contact_link(?string $contact = null): ?string return "mailto:$text"; } - if (str_contains($text, "/")) { + if (str_contains($text, "/") && mb_substr($text, 0, 1) != "/") { return "https://$text"; }