Merge changes I0ab47e2f,Ib8016996

* changes:
  Remove errant tag terminator
  Normalize output of XMLtree content
This commit is contained in:
Conley Owens
2011-04-27 13:06:46 -07:00
committed by Android Code Review
2 changed files with 2 additions and 2 deletions

View File

@@ -27,7 +27,6 @@
android:layout_marginRight="8dip"
android:layout_marginLeft="-1dip"
style="@*android:style/Widget.QuickContactBadge.WindowSmall" />
/>
<LinearLayout
android:layout_width="0dip"

View 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());
}
}