Location: PHPKode > projects > Open Power Template > tests/Opt/xml/entities_5.txt
Check whether the HTML entities are correctly replaced with the corresponding characters.

>>>>templates/test.tpl
<?xml version="1.0" ?>
<foo>
&amp;
&nbsp;
&#184;
&#xb8;
&amp;nbsp;
</foo>

>>>>data.php
$this->tpl->htmlEntities=true;

>>>>expected.txt
OUTPUT

>>>>result.txt
<foo>
&amp;
 
¸
¸
&amp;nbsp;
</foo>
Return current item: Open Power Template