X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Flibs%2Fhtml_mail_functions.php;h=a3c176691d83517535fe8fcd521cb4f4a559770b;hb=09f5758c42a33a56bdd461c946ffe759a59c54aa;hp=f7a34e0298c62265c4641fb115faea5957fa0644;hpb=e2148142f8b1a8f40fd6e7ca32185569c5a9083e;p=mailer.git diff --git a/inc/libs/html_mail_functions.php b/inc/libs/html_mail_functions.php index f7a34e0298..a3c176691d 100644 --- a/inc/libs/html_mail_functions.php +++ b/inc/libs/html_mail_functions.php @@ -18,6 +18,7 @@ * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * + * Copyright (c) 2009, 2010 by Mailer Developer Team * * For more information visit: http://www.mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -82,7 +83,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 +135,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));