我正在设计一个prestashop主题,我有一个smarty模板引擎的问题。
我写了一个带有特殊字符'%'的文本,但没有显示任何内容。
<p>
{l s='Save hundreds of hours of manual work, be more productive and impress your audience with visually appealing slides that are 100% editable.' d='Shop.Theme.Global'}
</p>
尝试添加%的HTML代码并使用smarty管道来转义HTML字符。
{l s='Save hundreds of hours of manual work, be more productive and impress your audience with visually appealing slides that are 100% editable.'|escape:'html' }
Melvita,但我把%%。<l s='Save hundreds of hours of manual work, be more productive and impress your audience with visually appealing slides that are 100%% editable.'>
和它的作品