Closed GoogleCodeExporter closed 9 years ago
I took your code and added the following test case to AntiSamyTest.java:
try {
String dirtyInput = "blah blah.";
CleanResults cr = as.scan(dirtyInput, policy);
assertEquals(dirtyInput,cr.getCleanHTML());
} catch(Exception e) {
fail(e.getMessage());
}
This test case passes in my environment, which is almost a dupe of yours,
except that
I'm in Vista. Can anyone else verify this?
Original comment by arshan.d...@gmail.com
on 8 Mar 2010 at 4:38
I get the same problem on Linux as well:
Linux arcom 2.6.26-1-xen-amd64 #1 SMP Sat Jan 10 20:39:26 UTC 2009 x86_64
GNU/Linux
java version "1.6.0_0"
OpenJDK Runtime Environment (build 1.6.0_0-b11)
OpenJDK 64-Bit Server VM (build 1.6.0_0-b11, mixed mode)
Test code attached.
The output is:
blah blah
.
Expected:
blah blah.
Original comment by andrew.r...@gmail.com
on 9 Mar 2010 at 12:16
Attachments:
Original issue reported on code.google.com by
andrew.r...@gmail.com
on 18 Dec 2009 at 2:07