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 #7278

parse-problem

Details

Submitted2006-04-02 22:24 UTC
Frominfo at der-dirigent dot de
Assignedpajoye
StatusBogus
PackageHTML_Template_IT
PHP VersionIrrelevant
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:
--------------
\'