Home » HTML » HTML_Template_IT » Bug #7278
parse-problem
Details
| Submitted | 2006-04-02 22:24 UTC |
|---|---|
| From | info at der-dirigent dot de |
| Assigned | pajoye |
| Status | Bogus |
| Package | HTML_Template_IT |
| PHP Version | Irrelevant |
| Roadmaps | (Not assigned) |
Comments
[2006-04-02 22:24 UTC] info at der-dirigent dot de
Description:
------------
\\' will parse to \' not to \\'. the problem should be this part: preg_replace($regs, $values, $this->blocklist[$block])
Test script:
---------------
$entry['tpl']['TEST'] = "\\\\'";
$tpl->setCurrentBlock('TEST');
$tpl->setVariable($entry['tpl']);
$tpl->parse('TEST');
Expected result:
----------------
\\'
Actual result:
--------------
\'