PR: MPCHANGES-31
Use setPadText(true) to ensure that text immediately preceded by or followed by an element will be surrounded by a single space. Unfortunately this also adds spaces after tags at a line ending so all our changes.xml files will get reformatted. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@441044 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
1 parent
d5c1cdbd72
commit
bf93c48afc
2 files changed
+2
No files matched your search
@@ -137,6 +137,7 @@ public class ReleaseVersion
|
||||
format.setIndentSize( 2 );
|
||||
format.setNewlines( true );
|
||||
format.setTrimText( true );
|
||||
format.setPadText( true );
|
||||
if ( encoding == null || "".equals( encoding ) )
|
||||
{
|
||||
String docsEncoding = doc.getXMLEncoding();
|
||||
|
||||
Reference in new issue
Block a user