You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mi...@apache.org on 2022/12/11 18:33:30 UTC

[maven-reporting-impl] branch MSHARED-1174 created (now e720aa1)

This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a change to branch MSHARED-1174
in repository https://gitbox.apache.org/repos/asf/maven-reporting-impl.git


      at e720aa1  [MSHARED-1174] Don't wrap elements in anchors

This branch includes the following new commits:

     new e720aa1  [MSHARED-1174] Don't wrap elements in anchors

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[maven-reporting-impl] 01/01: [MSHARED-1174] Don't wrap elements in anchors

Posted by mi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a commit to branch MSHARED-1174
in repository https://gitbox.apache.org/repos/asf/maven-reporting-impl.git

commit e720aa15eb1cb7a1b6d3c68fafe210ad41517dca
Author: Michael Osipov <mi...@apache.org>
AuthorDate: Sun Dec 11 19:33:06 2022 +0100

    [MSHARED-1174] Don't wrap elements in anchors
    
    This closes #16
---
 .../java/org/apache/maven/reporting/AbstractMavenReportRenderer.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/apache/maven/reporting/AbstractMavenReportRenderer.java b/src/main/java/org/apache/maven/reporting/AbstractMavenReportRenderer.java
index e83ab5e..3ff849d 100644
--- a/src/main/java/org/apache/maven/reporting/AbstractMavenReportRenderer.java
+++ b/src/main/java/org/apache/maven/reporting/AbstractMavenReportRenderer.java
@@ -119,10 +119,10 @@ public abstract class AbstractMavenReportRenderer
     {
         section++;
         sink.section( section, null );
-        sink.sectionTitle( section, null );
         sink.anchor( anchor );
-        text( name );
         sink.anchor_();
+        sink.sectionTitle( section, null );
+        text( name );
         sink.sectionTitle_( section );
     }