官网中property标签的描述
Used to get the property of a value , which will default to the top of the stack if none is specified.
参数有三个default,escape,value,其中escape较难理解,官方解释为'Whether to escape HTML'
用例子解释
譬如该property的value实际为"<input type='button' value='testEscape' class='button' />",现在我在页面上用escape=false的property标签来输出,最后的输出在页面上是一个按钮。
本文解析了property标签的作用及其参数default、escape、value的意义,并通过实例展示了当设置escape=false时,如何在页面上输出未转义的HTML内容。
1500

被折叠的 条评论
为什么被折叠?



