Home » HTML » HTML_Template_IT » Bug #7179
Backslashes will not printed out correctly
Details
| Submitted | 2006-03-22 10:54 UTC |
|---|---|
| From | nagios dot ql2005 at wizonet dot ch |
| Assigned | pajoye |
| Status | Bogus |
| Package | HTML_Template_IT |
| PHP Version | 4.3.4 |
| OS | Linux |
| 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...