Hi Alexandre,

The pages are generated using Doxia, where the "true" HTML is generated [1]

I think your problem is with the "About" page (index.html). This page is
generated in maven-site-plugin. In SiteMojo.java [2] , generateIndexPage(),
there is indeed a <div class="section"> generated by section1() that is not
closed with section1_() . As you're the reporter, you can create an issue, I
have a patch ready to be attached.

maven-site-plugin also generates the "Project info" and "Project reports"
pages (respectively project-info.html and maven-reports.html ). For other
pages, you must look into plugins that generate them. I believe the same
problem happens for some of them, e.g. for maven-checkstyle-plugin [3] ,
doHeading() .

[1]
http://svn.apache.org/viewcvs.cgi/maven/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/module/xhtml/XhtmlSink.java?view=markup
[2]
http://svn.apache.org/viewcvs.cgi/maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/SiteMojo.java?view=markup
[3]
http://svn.apache.org/viewcvs.cgi/maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleReportGenerator.java?view=markup

- Yann

2006/2/25, Alexandre Poitras <[EMAIL PROTECTED]>:
>
> Hi,
>
> I am able to generate and customize my website quite elegantly but I
> still have a little annoying bug, ie. there is a <div class="section">
> outputted in the web site body content. What I find perticulary
> annoying is the tag isn't even closed but I need my web site to be
> XHTML strict compatible. I taught I could fix it by modifying the
> velocity template but the tags seems to come from the generated site
> content. In the mean, as a temporary fix, I putted a ending div tag in
> the velocity template straight after the generated body content but it
> isn't very elegant and practical.  Has anyone noticed the same problem
> and found a solution?
>
> By the way, does anyone know where I can edit the html generated by
> reports (like for the project-info reports)?
>
> Thank!
> --
> Alexandre Poitras
> Québec, Canada
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to