What steps will reproduce the problem?
1. new HtmlPolicyBuilder
2. .allowElements("hr")
3. HtmlSanitizer.sanitize("<hr />", policy);
What is the expected output? What do you see instead?
expected - <hr />
instead - <hr>
What version of the product are you using? On what operating system?
r99
Please provide any additional information below.
For browsers the output <hr> is correct. However, it is not usable if we need
some additional XML processing of the output.
Original issue reported on code.google.com by
mila...@gmail.comon 18 Sep 2012 at 6:59