Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CodeClimateTransformer - HTML in FindBugs messages #168

Open
PaulCormier opened this issue Dec 30, 2022 · 1 comment
Open

CodeClimateTransformer - HTML in FindBugs messages #168

PaulCormier opened this issue Dec 30, 2022 · 1 comment

Comments

@PaulCormier
Copy link

This is related to #167.

The messages from the FindBugs parser contain HTML formatting, but the spec for the CodeClimate description format says "no HTML formatting."

If the FindBugs details message were removed from the description , this wouldn't be an issue, but if it were to be moved to the CodeClimate contents field, the HTML should be converted to markdown.

I have no particular suggestion for how to do the conversion, but at first glance, it looks like it's mostly paragraph tags (<p>) and <code> tags. The former could be replaced by two carriage returns, and the later by backticks.

@tomasbjerre
Copy link
Owner

Converting to markdown sounds like the way to go here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants