From 285ee0a146d82a311e275c394ea049c0e5b03ac1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ryszard=20Wi=C5=9Bniewski?= Date: Sun, 29 Aug 2010 21:20:15 +0200 Subject: [PATCH] StringBlock: escape chars in style tags. --- src/brut/androlib/res/decoder/StringBlock.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/brut/androlib/res/decoder/StringBlock.java b/src/brut/androlib/res/decoder/StringBlock.java index e7fa3f26..e8da6db1 100644 --- a/src/brut/androlib/res/decoder/StringBlock.java +++ b/src/brut/androlib/res/decoder/StringBlock.java @@ -199,7 +199,8 @@ public class StringBlock { val = tag.substring(pos2 + 1); } - builder.append(val).append('"'); + builder.append(AndrolibResources.escapeCharsForResXml(val)) + .append('"'); } } }