You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2026/08/24 11:34:54 UTC
(maven-site) 01/04: Fix structurally invalid HTML on the RM helper page
This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-site.git
commit 2de6c4725bc920531168a9338a6cbaac82833f45
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Mon Aug 24 12:42:54 2026 +0200
Fix structurally invalid HTML on the RM helper page
The three raw <h3> headings inside the component reference table each
opened a Doxia section that Doxia only closes on the next heading, so
</td>/</tr>/</table> closed over an open <section>, and the last one
stayed open through the whole <script> block. Browsers already repair
this silently, so nothing was visibly broken; this is a pure structural
fix. Replaced each <h3> with a non-heading element carrying the same
computed style, with the same <a id="..."> anchor placed explicitly so
the three published anchors (Component_category, Component_information,
Instructions_to_publish_component_release_documentation) keep resolving
exactly as before.
---
.../website/component-reference-documentation-helper.md | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/content/markdown/developers/website/component-reference-documentation-helper.md b/content/markdown/developers/website/component-reference-documentation-helper.md
index c392366d..b481756f 100644
--- a/content/markdown/developers/website/component-reference-documentation-helper.md
+++ b/content/markdown/developers/website/component-reference-documentation-helper.md
@@ -23,7 +23,8 @@ select component category, then type artifact id and version to generate svn com
<table>
<tr><td>
-<h3>Component category</h3>
+<a id="Component_category"></a>
+<p style="margin:10px 0;font-family:inherit;font-weight:bold;line-height:40px;color:inherit;font-size:24.5px;">Component category</p>
<ul>
<li><a href="?core">core</a></li>
<li><a href="?shared">shared components</a></li>
@@ -40,8 +41,8 @@ select component category, then type artifact id and version to generate svn com
</ul>
</td><td>
-
-<h3>Component information</h3>
+<a id="Component_information"></a>
+<p style="margin:10px 0;font-family:inherit;font-weight:bold;line-height:40px;color:inherit;font-size:24.5px;">Component information</p>
<div>directory (~artifact id): <input type="text" name="artifactId" id="artifactId" style="vertical-align: baseline"/></div>
<div>version: <input type="text" name="version" id="version" style="vertical-align: baseline"/></div>
@@ -51,7 +52,8 @@ select component category, then type artifact id and version to generate svn com
</td></tr>
<tr><td colspan="3">
-<h3>Instructions to publish component release documentation</h3>
+<a id="Instructions_to_publish_component_release_documentation"></a>
+<p style="margin:10px 0;font-family:inherit;font-weight:bold;line-height:40px;color:inherit;font-size:24.5px;">Instructions to publish component release documentation</p>
<pre id="svnmucc">svnmucc -m "Publish ${artifactId} ${version} documentation" \
-U https://svn.apache.org/repos/asf/maven/website/components \
cp HEAD ${category}-archives/${artifactId}-LATEST${vSuffix} ${category}-archives/${artifactId}-${version} \