From: Jean-Baptiste Queru Date: Wed, 8 Aug 2012 18:21:28 +0000 (-0700) Subject: Merge "Normalize output from aapt d xmltree" X-Git-Url: https://git.saurik.com/android/aapt.git/commitdiff_plain/4f2cc28592dc79e929d6422887b9f71702ec510a?hp=19d4a91456f218b4d8b07072958f29961b07865e Merge "Normalize output from aapt d xmltree" --- diff --git a/XMLNode.cpp b/XMLNode.cpp index 0dba950..dcbe7db 100644 --- a/XMLNode.cpp +++ b/XMLNode.cpp @@ -511,7 +511,8 @@ void printXMLBlock(ResXMLTree* block) namespaces.pop(); } else if (code == ResXMLTree::TEXT) { size_t len; - printf("%sC: \"%s\"\n", prefix.string(), String8(block->getText(&len)).string()); + printf("%sC: \"%s\"\n", prefix.string(), + ResTable::normalizeForOutput(String8(block->getText(&len)).string()).string()); } }