`
microjuz
  • 浏览: 31671 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论

property标签的escape属性

    博客分类:
  • web
阅读更多

 

官网中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标签来输出,最后的输出在页面上是一个按钮。

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics