diff --git a/src/Forms/GridField/GridFieldPrintButton.php b/src/Forms/GridField/GridFieldPrintButton.php index 758de42c6..ef144bb0e 100644 --- a/src/Forms/GridField/GridFieldPrintButton.php +++ b/src/Forms/GridField/GridFieldPrintButton.php @@ -227,10 +227,6 @@ class GridFieldPrintButton implements GridField_HTMLProvider, GridField_ActionPr foreach ($printColumns as $field => $label) { $value = $gridField->getDataFieldValue($item, $field); - if ($item->escapeTypeForField($field) != 'xml') { - $value = Convert::raw2xml($value); - } - $itemRow->push(new ArrayData(array( "CellString" => $value, )));