【文件属性】:
文件名称:php 过滤html标记属性类
文件大小:2KB
文件格式:ZIP
更新时间:2016-10-12 18:45:42
php filter html attribute
/** HTML Attribute Filter
*
* Func:
* public strip 过滤属性
* private findElements 搜寻需要处理的元素
* private findAttributes 搜寻属性
* private removeAttributes 移除属性
* private isException 判断是否特例
* private createAttributes 创建属性
* private protect 特殊字符转义
*/
【文件预览】:
HtmlAttributeFilter.class.php
demo.php