fix help content generation from <pre> tag
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1337408 13f79535-47bb-0310-9956-ffa450edef68master
parent
a9bb0f6571
commit
6b38de8036
|
|
@ -148,8 +148,14 @@ public class PluginDescriptorGenerator
|
||||||
w.startElement( "plugin" );
|
w.startElement( "plugin" );
|
||||||
|
|
||||||
PluginUtils.element( w, "name", pluginDescriptor.getName() );
|
PluginUtils.element( w, "name", pluginDescriptor.getName() );
|
||||||
|
if ( cleanDescription )
|
||||||
|
{
|
||||||
|
PluginUtils.element( w, "description", PluginUtils.toText( pluginDescriptor.getDescription() ) );
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
PluginUtils.element( w, "description", pluginDescriptor.getDescription() );
|
PluginUtils.element( w, "description", pluginDescriptor.getDescription() );
|
||||||
|
}
|
||||||
|
|
||||||
PluginUtils.element( w, "groupId", pluginDescriptor.getGroupId() );
|
PluginUtils.element( w, "groupId", pluginDescriptor.getGroupId() );
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -715,7 +715,7 @@ public final class PluginUtils
|
||||||
String text;
|
String text;
|
||||||
if ( preformatted > 0 )
|
if ( preformatted > 0 )
|
||||||
{
|
{
|
||||||
text = data.replace( ' ', '\u00A0' );
|
text = data;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue