Home » HTML » HTML_Template_Flexy » Bug #1675
post_fix_php_cr() in Mail.php doesn't work with windows linebreaks
Details
| Submitted | 2004-06-18 12:16 UTC |
|---|---|
| From | tobias at weidelt dot de |
| Assigned | alan_k |
| Status | Closed |
| Package | HTML_Template_Flexy |
| PHP Version | 4.3.4 |
| OS | Linux/Windows |
| Roadmaps | (Not assigned) |
Comments
[2004-06-18 12:16 UTC] tobias at weidelt dot de
Description:
------------
File Template/Flexy/Compiler/Regex/Mail.php:
please replace function post_fix_php_cr
with something like that:
function post_fix_php_cr ($input)
{
$input = str_replace("?>\n","?>\n\n",$input);
return str_replace("?>\r\n","?>\r\n\r\n",$input);
}