]> git.saurik.com Git - android/aapt.git/blobdiff - XMLNode.cpp
Normalize output of XMLtree content
[android/aapt.git] / XMLNode.cpp
index c0d74275a8a6a6883fedeed008ab6e993e4658cc..19248bf7fe37343ed64f1466a8d32f166bfd4791 100644 (file)
@@ -504,7 +504,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());
         }
     }