smarty 标签之{ldelim}、{literal}
比如想在在页面原样输出$a
{ldelim}$a{rdelim}
想要不被smarty解析的用标签literal
{literal}
<script>
function display(){
alert('hello word');
}
</script>
{/literal}
比如想在在页面原样输出$a
{ldelim}$a{rdelim}
想要不被smarty解析的用标签literal
{literal}
<script>
function display(){
alert('hello word');
}
</script>
{/literal}