hello", - StringUtils.stripHtmlTags("
hello")); + assertEquals("
hello", StringUtils + .stripHtmlTags("
hello")); assertEquals("kdHydro < 12.53", StringUtils.stripHtmlTags("kdHydro < 12.53")); @@ -311,5 +316,9 @@ public class StringUtilsTest // decode space also; %3E is not decoded to . assertEquals("a=b%3Ec d=,", StringUtils.urlDecode("a%3Db%3Ec+d%3D%2C", ";=, ")); + + // decode encoded % (%25) + assertEquals("a,=;\t%z", + StringUtils.urlDecode("a%2C%3D%3B%09%25z", ";=,\t%")); } }