[-] BO : fix #PSTEST-1117 - bad handling of UTF8 strings in templates

This commit is contained in:
tDidierjean
2012-03-30 14:50:33 +00:00
parent 472b22e18f
commit 718e907d5e
18 changed files with 21 additions and 21 deletions
@@ -91,7 +91,7 @@
{$tr.$key}
{* If type is 'editable', an input is created *}
{elseif isset($params.type) && $params.type == 'editable' && isset($tr.id)}
<input type="text" name="{$key}_{$tr.id}" value="{$tr.$key|htmlentities}" class="{$key}" />
<input type="text" name="{$key}_{$tr.id}" value="{$tr.$key|escape:'htmlall':'UTF-8'}" class="{$key}" />
{elseif isset($params.callback)}
{$tr.$key}
{elseif isset($tr.$key) && $key == 'color'}