X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Flibs%2Fhtml_mail_functions.php;h=6d0870a748a6efe03726e445d3163b76599307da;hb=039203d5428c9c6a3bed61fb3a9a16958c6fd44c;hp=91f9504bcc30d5c87e2c86c8894fd1e4ac43a802;hpb=9afd6ec5878544a7982c50ed9c0dd7de37606d5b;p=mailer.git diff --git a/inc/libs/html_mail_functions.php b/inc/libs/html_mail_functions.php index 91f9504bcc..6d0870a748 100644 --- a/inc/libs/html_mail_functions.php +++ b/inc/libs/html_mail_functions.php @@ -1,7 +1,7 @@ ') + 1); } @@ -82,7 +82,7 @@ function insertUrlsIntoHtml ($text) { } // END - foreach // Now replace the URL against anchor container and pray... - $text = substr($text, 0, strpos($text, $check2))."".$check."".substr($text, strpos($text, $check2) + strlen($check)); + $text = substr($text, 0, strpos($text, $check2)) . '' . $check . '' . substr($text, strpos($text, $check2) + strlen($check)); // Finally remove the url from testing string (or we have a loop and maybe server overload!) $test = substr($test, strpos($test, $check) + strlen($check)); @@ -134,7 +134,7 @@ function insertUrlsIntoHtml ($text) { } // END - if // Now replace the email against anchor with mailto and pray... - $PARTS[] = $check2 . "" . $check . ""; + $PARTS[] = $check2 . '' . $check . ''; // Remove email from testing string (see above why...) $test = substr($test, strlen($check));