]> git.saurik.com Git - android/aapt.git/blobdiff - XMLNode.cpp
Normalize output from aapt d xmltree
[android/aapt.git] / XMLNode.cpp
index 8d7acee54461284fba9c829340e8ac1d3740e167..fbb43020ad52814e9b0a95f096e1ea4ff1699574 100644 (file)
@@ -511,7 +511,8 @@ void printXMLBlock(ResXMLTree* block)
             namespaces.pop();
         } else if (code == ResXMLTree::TEXT) {
             size_t len;
             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());
         }
     }
 
         }
     }