p4ulypops / jquery-clean

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

Problem with inline style attribute #44

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.run this: $.htmlClean('<p style="color: #F00">RED</p>', {format:true, 
allowedAttributes:["style"]});

Shouldn't this retain the style attribute? I am getting: 

<p>
    RED
</p>

Original issue reported on code.google.com by gregrem...@gmail.com on 20 Nov 2014 at 1:30