mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-02 20:15:58 +00:00
eclipse plugin: Remove the prefixing tabs also when cleaning the node text
This commit is contained in:
parent
4b21c2002f
commit
30cbc9a362
@ -206,6 +206,6 @@ public class WMLUtils
|
||||
private static String toCleanedUpText( EObject obj )
|
||||
{
|
||||
return NodeModelUtils.getNode( obj ).getText( )
|
||||
.replaceFirst( "(\\n|\\r| )+", "" );
|
||||
.replaceFirst( "(\\n|\\r|\\t| )+", "" );
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user