p4ulypops / jquery-clean

Automatically exported from code.google.com/p/jquery-clean
0 stars 0 forks source link

ignoreTag option? #25

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
This looks like issue 23, please review the comments there

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