From 30cbc9a3622fe081ada335fb2076b56afc6cdca9 Mon Sep 17 00:00:00 2001 From: Timotei Dolean Date: Wed, 15 Feb 2012 21:56:59 +0000 Subject: [PATCH] eclipse plugin: Remove the prefixing tabs also when cleaning the node text --- utils/umc_dev/org.wesnoth/src/org/wesnoth/utils/WMLUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/umc_dev/org.wesnoth/src/org/wesnoth/utils/WMLUtils.java b/utils/umc_dev/org.wesnoth/src/org/wesnoth/utils/WMLUtils.java index 2ad9505b3d1..cac0f2503c7 100644 --- a/utils/umc_dev/org.wesnoth/src/org/wesnoth/utils/WMLUtils.java +++ b/utils/umc_dev/org.wesnoth/src/org/wesnoth/utils/WMLUtils.java @@ -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| )+", "" ); } }