MrAntix / jquery-clean

Automatically exported from code.google.com/p/jquery-clean

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

feature request

GoogleCodeExporter opened this issue · comments

hi,

maybe you could add the following feature for the next version:

add allowedAttributes: eg. ["id", "class", "style"] (and clean out all others)

thx

Original issue reported on code.google.com by fexl...@gmail.com on 8 Apr 2010 at 2:11

that functionality exist, but it in internal an not exposed.

see tagAttributes
http://code.google.com/p/jquery-clean/source/browse/trunk/jquery.htmlClean.js#42
5

I will make this functionality available in the options next major version

Original comment by antixsof...@gmail.com on 8 Apr 2010 at 6:46

  • Changed state: Accepted
  • Added labels: Priority-Critical
  • Removed labels: Priority-Medium
now exposed

see tests for examples (same as issue 10)

Original comment by antixsof...@gmail.com on 30 Apr 2012 at 6:30

  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

Original comment by antixsof...@gmail.com on 30 Apr 2012 at 6:31

  • Changed state: Fixed