Prevent over escaping plurals item tags
@@ -50,11 +50,9 @@ public class ResPluralsValue extends ResBagValue implements
continue;
}
- ResScalarValue rawValue = item;
-
serializer.startTag(null, "item");
serializer.attribute(null, "quantity", QUANTITY_MAP[i]);
- serializer.text(ResXmlEncoders.enumerateNonPositionalSubstitutionsIfRequired(item.encodeAsResXmlValue()));
+ serializer.text(ResXmlEncoders.enumerateNonPositionalSubstitutionsIfRequired(item.encodeAsResXmlNonEscapedItemValue()));
serializer.endTag(null, "item");
}
serializer.endTag(null, "plurals");
