p4ulypops / jquery-clean

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

Not Expected output #30

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Entered html <img style = "width:500;hieght:400;"  src = 
"../../parse_file/imgs/safari.jpg">
2. js : $.htmlClean(data,{format:true},allowedAttributes:[["style"],["src"]])

What is the expected output? What do you see instead?
Expected op:
<img style = "width:500;hieght:400;"  src = "../../parse_file/imgs/safari.jpg">

Got op:
<img alt='' />

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

Please provide any additional information below.

Original issue reported on code.google.com by wankhede...@gmail.com on 11 Jul 2013 at 5:09

GoogleCodeExporter commented 9 years ago
please find attched screen shot.

Original comment by wankhede...@gmail.com on 11 Jul 2013 at 6:58

Attachments:

GoogleCodeExporter commented 9 years ago
This should work with defaults, but the space between "src" and "=" is causing 
it to barf

I will look at this now - thanks for raising it

Original comment by antixsof...@gmail.com on 11 Jul 2013 at 9:13

GoogleCodeExporter commented 9 years ago
fixed here https://code.google.com/p/jquery-clean/source/detail?r=90

Original comment by antixsof...@gmail.com on 11 Jul 2013 at 9:44

GoogleCodeExporter commented 9 years ago
Thanks for quick update. 

Original comment by wankhede...@gmail.com on 11 Jul 2013 at 9:57