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

Fix small HTML tags errors in painted source code files #133

Merged
merged 1 commit into from
Dec 4, 2019

Conversation

fedepell
Copy link
Contributor

The HTML generated with painted source code has a bunch of errors with tags that may make the rendering bad on older browsers or may anyhow leave to the browser the freedom to rearrange the code.
Example from Firefox source code parsing:

coverage-plugin-html

In the example you see that the closing of <a> is considered invalid (it is not a void element) and the <td> of hits is never closed. Also the whole table was inside a <pre> (preformatted) tag which doesn't make sense it being a table.

This PR fixes this little HTML quirks and makes the page more HTML5 compliant.

Copy link
Contributor

@cizezsy cizezsy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks~

@cizezsy cizezsy merged commit c3ad450 into jenkinsci:dev Dec 4, 2019
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

Successfully merging this pull request may close these issues.

None yet

2 participants