Fix broken HTML table in report goal when using maven-site-plugin:4.0.0-M4#164
Merged
Conversation
Member
|
Thanks you very much for the investigation and the fix 👍 Do you think it is possible to verify the correct behavior with a test ? There is already one available for this goal but maybe we could add another one with the new maven-site-plugin ? |
Contributor
Author
|
Thanks for the feedback! I can add a test, e.g. Would it be ok? |
slachiewicz
approved these changes
Jan 17, 2023
Contributor
Author
|
@jcgay Did you have time to look at the test I added? Thanks :) |
Member
Yes, looks good to me! I'm merging it! Thanks again 😇 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #163
First argument is for the columns text justification (
nullmeans left by default) and second argument is to draw borders but if set to true it will remove the style of the table.https://maven.apache.org/doxia/doxia/doxia-sink-api/apidocs/org/apache/maven/doxia/sink/Sink.html#tableRows-int:A-boolean-
Let me know if you prefer constants or local variables to make this more explicit.
Before:

After:
