I am using Antisamy to sanitize HTML contents. During the parsing of the HTML Data, the
(self-closing) tag is converted into
(open tag). Is there any specific reason behind this behavior change? Is there any way to retain the
tags?
Eg Input Html Data: <p>this is para data</p><br/><p>this is para data 2</p>
Eg Output Html Data: <p>this is para data</p><br><p>this is para data 2</p>
HtmlUnit-Neko version using - 3.11.2
Antisamy version using - 1.7.5