From 855f664d40fa31785498e844c1cb6fd5e66bd168 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ryszard=20Wi=C5=9Bniewski?= Date: Tue, 3 May 2011 03:32:41 +0200 Subject: [PATCH] Disabled escaping of XML attr values. They're already escaped in AXML files. --- .../src/main/java/brut/androlib/res/AndrolibResources.java | 1 + 1 file changed, 1 insertion(+) diff --git a/apktool-lib/src/main/java/brut/androlib/res/AndrolibResources.java b/apktool-lib/src/main/java/brut/androlib/res/AndrolibResources.java index a4a13601..e68125e5 100644 --- a/apktool-lib/src/main/java/brut/androlib/res/AndrolibResources.java +++ b/apktool-lib/src/main/java/brut/androlib/res/AndrolibResources.java @@ -245,6 +245,7 @@ final public class AndrolibResources { serial.setProperty(ExtXmlSerializer.PROPERTY_SERIALIZER_LINE_SEPARATOR, System.getProperty("line.separator")); serial.setProperty(ExtMXSerializer.PROPERTY_DEFAULT_ENCODING, "utf-8"); + serial.setDisabledAttrEscape(true); return serial; }