yii2 formatter 中 html 和 raw 的区别

Html:

对数据进行净化,避免XSS攻击

Raw

未对数据进行净化

posted on 2018-11-19 13:12  Mr-Hawaii-Felix  阅读(162)  评论(0编辑  收藏  举报

导航