File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
src/main/java/org/apache/maven/report/projectinfo Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change @@ -105,5 +105,41 @@ protected void text( String text )
105105 }
106106 }
107107
108+ /* FIXME The next two methods need to be retained until Doxia and Maven Reporting Impl properly implement
109+ * the difference of a (boxed) real verbatim text and (boxed) source code.
110+ */
111+ /**
112+ * {@inheritDoc}
113+ */
114+ @ Override
115+ protected void verbatimText ( String text )
116+ {
117+ sink .verbatim ( null );
118+
119+ text ( text );
120+
121+ sink .verbatim_ ();
122+ }
123+
124+ /**
125+ * {@inheritDoc}
126+ */
127+ @ Override
128+ protected void verbatimLink ( String text , String href )
129+ {
130+ if ( StringUtils .isEmpty ( href ) )
131+ {
132+ verbatimText ( text );
133+ }
134+ else
135+ {
136+ sink .verbatim ( null );
137+
138+ link ( href , text );
139+
140+ sink .verbatim_ ();
141+ }
142+ }
143+
108144 protected abstract String getI18Nsection ();
109145}
You can’t perform that action at this time.
0 commit comments