首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 干净的HTML for jQuery插件

干净的HTML for jQuery插件

  • 资源大小:11.28 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: 插件 干净

资 源 简 介

Takes dirty dirty (X)HTML and produces nice clean XHTML It will; * fix self closing tags * lower-case tags * remove non-standard attributes * remove in-line style attributes * remove in-line event attributes * optionally remove other attributes * tidy unnecessary white space and new lines * remove comments * remove proprietary word formatting tags * replace tags e.g. i=>em * optionally leave css classes in place * format and indent html Options | Name | Description | Example Value | |:---------|:----------------|:------------------| | bodyOnly | clean the body tag only | true|false | | allowedTags | only allow tags in this array, (white list), contents still rendered | ["p","em"] | | removeTags | remove tags in this array, (black list), contents still rendered | ["strong"] | | allowedAttributes | array of attributes to

文 件 列 表

jquery.htmlClean.js
jquery.htmlClean.min.js
jquery.htmlClean.test.htm
VIP VIP
0.176581s