We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
一般的escapehtml作为安全策略,但是大部分情况下使用模板是希望返回html的,例如:
{$item|radio:1}
希望快速的拼接一个radio标签,而且框架的tag功能非常好,完全可以解决过滤功能,例如: {$username|escape}
似乎修改interpolateOpen, noneencodeOpen 不能解决问题,希望给点指点。
谢谢
The text was updated successfully, but these errors were encountered:
哎呀~ 已经解决。
__interpolate函数取反_escape即可
Sorry, something went wrong.
No branches or pull requests
一般的escapehtml作为安全策略,但是大部分情况下使用模板是希望返回html的,例如:
{$item|radio:1}
希望快速的拼接一个radio标签,而且框架的tag功能非常好,完全可以解决过滤功能,例如:
{$username|escape}
似乎修改interpolateOpen, noneencodeOpen 不能解决问题,希望给点指点。
谢谢
The text was updated successfully, but these errors were encountered: