MPLUGIN-128: Add a line break before writing default value in description field
o added a line break and used strong tag git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@683993 13f79535-47bb-0310-9956-ffa450edef68master
parent
e834ade9d1
commit
ef016223f4
|
|
@ -534,11 +534,11 @@ public class PluginXdocGenerator
|
||||||
{
|
{
|
||||||
description = getBundle( locale ).getString( "pluginxdoc.nodescription" );
|
description = getBundle( locale ).getString( "pluginxdoc.nodescription" );
|
||||||
}
|
}
|
||||||
w.writeMarkup( description + " " );
|
w.writeMarkup( description + "<br/>" );
|
||||||
|
|
||||||
if ( StringUtils.isNotEmpty( parameter.getDefaultValue() ) )
|
if ( StringUtils.isNotEmpty( parameter.getDefaultValue() ) )
|
||||||
{
|
{
|
||||||
w.writeMarkup( getBundle( locale ).getString( "pluginxdoc.mojodescriptor.parameter.defaultValue" ) + ": <code>" );
|
w.writeMarkup( "<strong>" + getBundle( locale ).getString( "pluginxdoc.mojodescriptor.parameter.defaultValue" ) + "</strong>: <code>" );
|
||||||
w.writeText( parameter.getDefaultValue() );
|
w.writeText( parameter.getDefaultValue() );
|
||||||
w.writeMarkup( "</code>." );
|
w.writeMarkup( "</code>." );
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue