]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/html_mail_functions.php
Mailer project continued (heavy refactoring):
[mailer.git] / inc / libs / html_mail_functions.php
index 62c13a1a9bb0409721159789f0e129c2850a2f84..be00219d6c76e24ca9e6b56181ce2a215b8416b1 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]