Threw in a test for newline replacement. This was a problem in String Taglib and having this test let me know it wasn't the fault of StringUtils.