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:31 UTC
[maven-reporting-impl] 01/01: [MSHARED-1174] Don't wrap elements in anchors
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 );
}