JavaParserTest.testJavaParserWithSimpleParser() 'Test case #4' does not work.
The used SAXParser in JavadocUtils deletes all '\r' characters during parsing
process. You can see it in the for loop at the end of
JavadocUtils.escaptHtml4(String). Compare the incoming parameter javadocText
and the created replacements.
As replacement.getOriginalString() differs from the javadocTex in most cases
(if '\r\n' is in the string) nothing will be replaced and therefore nothing is
escaped (HTML entities and replacement of line breaks to '<br/>').
Original issue reported on code.google.com by dirk.mei...@gmail.com on 9 Jul 2012 at 1:29
Original issue reported on code.google.com by
dirk.mei...@gmail.com
on 9 Jul 2012 at 1:29