andresriancho / owaspantisamy

Automatically exported from code.google.com/p/owaspantisamy
12 stars 15 forks source link

Empty iframe tag converted to self closing #191

Closed Gurkirat2210 closed 7 years ago

Gurkirat2210 commented 8 years ago

I'm using antysamy-1.4.4.xml. The issue is that this content

<iframe width="560" height="315" src="asda" allowfullscreen></iframe>

is changed to

<iframe width="560" height="315" src="asda" allowfullscreen/>

when I clean it with Antisamy's scan(String) method. The self-closing iframe tag(<iframe />) is not supported by some browsers due to which my page below this tag is not rendered.

I want to stop transformation of <iframe></iframe> to <iframe />