FindBugs inspection results does not contain formatting for details

Hi,

we are using the FindBugs build feature from the xml-report-plugin in our company. One thing that makes it uncomfortable to use is that the description of the FindBugs rule doesn't contain any formatting (it is stripped out).

  • All the HTML tags are removed by xml-report-plugin (FindBugsReportParser.patternDetailsFound(), PatternXmlParser.getRootHandlers())
  • Also the inspectionTabDetails.jsp in server-side-inspections plugin that displays the details escapes the XML characters


FindBugs details often contain HTML formatting for better readibility. We also modified the messages.xml with the details definition to provide more information with a link to our wiki page that gives guidance to our developers on how to treat FindBugs violations.
See the attachments to compare current and formatted outputs.

So my questions are:

  1. What was the reason to disallow HTML formatting in the inspection details description?
  2. Is there any possibility that it could be changed so that it preserves the formatting?


Thanks for any comments,
Michal



Attachment(s):
findbugs-formatted.png
findbugs-current.png
4 comments
Comment actions Permalink

Michal,

Thank you for feedback. We'll need about two weeks to process this issue.
That's a vacation season, and I have to wait for my colleague's return to troubleshoot it.

Thanks.

0
Comment actions Permalink

Thank you Michael. Let me know if I can help in any way.

0
Comment actions Permalink

Hello, Michal,

I've created an issue in out public tracker, please watch/vote (http://youtrack.jetbrains.com/issue/TW-23234) - we'll introduce the fix in the nearest releases

0
Comment actions Permalink

Thank you Victory! I voted on issue and will track the progress.

Michal

0

Please sign in to leave a comment.