Closed GoogleCodeExporter closed 9 years ago
I couldn't reproduce this issue. Maybe you should try the 1.3 or the latest 1.4
builds. Here is my test case which passes:
try {
String s = "<SPAN style='font-weight: bold;'>Hello World!</SPAN>";
String expected = "<span style=\"font-weight: bold;\">Hello World!</span>";
CleanResults cr = as.scan(s,policy);
String s2 = cr.getCleanHTML();
System.out.println("Cleaned string = " + s2);
assertEquals(expected,s2);
} catch (Exception e) {
fail(e.getMessage());
}
Original comment by arshan.d...@gmail.com
on 24 Nov 2009 at 3:22
I can confirm that this works now as expected with version 1.3
Original comment by martin.t...@gmail.com
on 4 Dec 2009 at 10:04
Original issue reported on code.google.com by
martin.t...@gmail.com
on 16 Oct 2009 at 2:40