You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dave Wichers (Jira)" <ji...@apache.org> on 2023/01/16 19:54:00 UTC
[jira] [Created] (MSITE-922) Using 4.0.0-M4 w/ maven-fluido-skin breaks table formatting in generated pages
Dave Wichers created MSITE-922:
----------------------------------
Summary: Using 4.0.0-M4 w/ maven-fluido-skin breaks table formatting in generated pages
Key: MSITE-922
URL: https://issues.apache.org/jira/browse/MSITE-922
Project: Maven Site Plugin
Issue Type: Bug
Affects Versions: 4.0.0-M4
Reporter: Dave Wichers
If, after you set the maven-site-plugin version to 4.0.0-M4 in the AntiSamy ([https://github.com/nahsra/antisamy]) pom.xml, you run: 'mvn site' against the main branch of this project:
It generates the site docs just fine, but the tables are broken in many of the pages, which are rendered fine with the 4.0.0-M3 version of the maven-site-plugin.
I did the following diff of 1 broken vs. OK generated site page file and here's what it shows:
antisamy % diff target/site/spotbugs.html ../targetBroken/site/spotbugs.html
5c5
{quote}< | Generated by Apache Maven Doxia Site Renderer 1.11.1 from com.github.spotbugs:spotbugs-maven-plugin:4.7.3.0:spotbugs at 2023-01-16
---
> | Generated by Apache Maven Doxia Site Renderer 2.0.0-M4 from com.github.spotbugs:spotbugs-maven-plugin:4.7.3.0:spotbugs at 2023-01-16
8c8
< <html xmlns="http://www.w3.org/1999/xhtml" lang="en">
---
> <html xmlns="http://www.w3.org/1999/xhtml" lang="">
12c12
< <meta name="generator" content="Apache Maven Doxia Site Renderer 1.11.1" />
---
> <meta name="generator" content="Apache Maven Doxia Site Renderer 2.0.0-M4" />
70c70
< <h2><a name="SpotBugs_Bug_Detector_Report"></a>SpotBugs Bug Detector Report</h2>
---
> <h1>SpotBugs Bug Detector Report</h1>
75,76c75
< <h2><a name="Summary"></a>Summary</h2>
< <table border="0" class="table table-striped">
---
> <h1>Summary</h1>
87,88c86
< <h2><a name="Files"></a>Files</h2>
< <table border="0" class="table table-striped">
---
> <h1>Files</h1>
97,99c95,96
< <td>1</td></tr></table></section><a name="org.owasp.validator.css.CssHandler"></a><section>
< <h3><a name="org.owasp.validator.css.CssHandler"></a>org.owasp.validator.css.CssHandler</h3>
< <table border="0" class="table table-striped">
---
> <td>1</td></tr></table></section><a id="org.owasp.validator.css.CssHandler"></a><section>
> <h2>org.owasp.validator.css.CssHandler</h2>
123,125c120,121
< <td>Medium</td></tr></table></section><a name="org.owasp.validator.css.CssScanner"></a><section>
< <h3><a name="org.owasp.validator.css.CssScanner"></a>org.owasp.validator.css.CssScanner</h3>
< <table border="0" class="table table-striped">
---
> <td>Medium</td></tr></table></section><a id="org.owasp.validator.css.CssScanner"></a><section>
> <h2>org.owasp.validator.css.CssScanner</h2>
{quote}
Given that it works with 4.0.0-M3 this seems like a bug.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)