escaping summary and other fields in xml templates