MrAntix / jquery-clean

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ignoreTag option?

GoogleCodeExporter opened this issue · comments

What steps will reproduce the problem?
1. Ran the plugin with "format:true'

What is the expected output? 
I was hoping it would clean up the html

What do you see instead?
It removed valid tags i.e. it changes 
<select>option>a</option><option>b</option></select> into <select>a b</select>

What version of the product are you using? On what operating system?
Centos Hosting


Please provide any additional information below.
First this plugin was a great help. What I didn't see was an 'ignoreTag' 
option. You have a 'white list' but to put all the tags I'd only want to keep 
would make for a very large list. I ended up making an 'ignoreTag' option which 
was then added to the tagProtect array. This way it ran and ignored the tags 
that I didn't want touched.

Original issue reported on code.google.com by mdk...@gmail.com on 24 Feb 2013 at 2:10

  • Merged into: #23
This looks like issue 23, please review the comments there

Original comment by antixsof...@gmail.com on 25 Feb 2013 at 12:20

  • Changed state: Duplicate