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_IT » Bug #7179

Backslashes will not printed out correctly

Details

Submitted2006-03-22 10:54 UTC
Fromnagios dot ql2005 at wizonet dot ch
Assignedpajoye
StatusBogus
PackageHTML_Template_IT
PHP Version4.3.4
OSLinux
Roadmaps(Not assigned)

Comments

[2006-03-22 10:54 UTC] nagios dot ql2005 at wizonet dot ch

Description:
------------
When I write

$mastertp->setVariable("DATA_FIELD_2","\\\\\\\\");

HTML_Template_IT will write this to the HTML code:

\\

When I write

$mastertp->setVariable("DATA_FIELD_2","\\\\");

HTML_Template_IT will write this to the HTML code:

\

3 of 4 Backslashes are missing in output

When I do it like this:

$test = "blabla \\\\\\\\ \' \"\"";
$mastertp->setVariable("DATA_FIELD_2",$test);

The parsed output looks like:
blabla \\ \' ""

Strange...