PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » HTML » HTML_Template_Flexy » Bug #1675

post_fix_php_cr() in Mail.php doesn't work with windows linebreaks

Details

Submitted2004-06-18 12:16 UTC
Fromtobias at weidelt dot de
Assignedalan_k
StatusClosed
PackageHTML_Template_Flexy
PHP Version4.3.4
OSLinux/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);
}