[-] Core : fixed smarty escape htmlall > html
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
<input type="hidden" name="controller" value="search" />
|
||||
<input type="hidden" value="position" name="orderby"/>
|
||||
<input type="hidden" value="desc" name="orderway"/>
|
||||
<input type="text" name="search_query" value="{if isset($smarty.get.search_query)}{$smarty.get.search_query|escape:'htmlall':'UTF-8'}{/if}" />
|
||||
<input type="text" name="search_query" value="{if isset($smarty.get.search_query)}{$smarty.get.search_query|escape:'html':'UTF-8'}{/if}" />
|
||||
</p>
|
||||
</form>
|
||||
</li>
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
{block name="td_content"}
|
||||
{if isset($params.type) && $params.type == 'link'}
|
||||
<a href="{$tr.$key|escape:'htmlall':'UTF-8'}" target="_blank">{$tr.$key|escape:'htmlall':'UTF-8'}</a>
|
||||
<a href="{$tr.$key|escape:'html':'UTF-8'}" target="_blank">{$tr.$key|escape:'html':'UTF-8'}</a>
|
||||
{else}
|
||||
{$smarty.block.parent}
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user