]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/html_mail_functions.php
More rewrites to configuration:
[mailer.git] / inc / libs / html_mail_functions.php
index 62c13a1a9bb0409721159789f0e129c2850a2f84..62bc294d941e195bd9e7668648062492b832de36 100644 (file)
@@ -148,7 +148,7 @@ function insertUrlsIntoHtml ($text) {
        } // END - foreach
 
        // Replace new-lines agains <br />-s and finally compile possible own HTML tags out...
-       return preCompileCode(str_replace(chr(10), "<br />\n", $text));
+       return preCompileCode(str_replace(PHP_EOL, '<br />' . PHP_EOL, $text));
 }
 
 // [EOF]