From: Jean-Baptiste Queru Date: Wed, 8 Aug 2012 19:01:35 +0000 (-0700) Subject: am e67f8c8c: Merge "Normalize output from aapt d xmltree" X-Git-Url: https://git.saurik.com/android/aapt.git/commitdiff_plain/e38626fca577d96e74b74e833005d879a7a2e4d2?hp=f6e3509b9f86c192209dddd5f67adc7d5074c4a6 am e67f8c8c: Merge "Normalize output from aapt d xmltree" * commit 'e67f8c8c279e20fff5f426eccd062b709e6280ed': 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()); } }