From 2dfb4142e0163c6f6d42ecd2c0d65e9b34688210 Mon Sep 17 00:00:00 2001 From: Normann Lou Date: Thu, 1 Mar 2012 12:35:08 +1300 Subject: [PATCH] BUGFIX SSF-53: fixed that raw html source appears for "Export to CSV" button(SSF-243) --- forms/gridfield/GridFieldExporter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forms/gridfield/GridFieldExporter.php b/forms/gridfield/GridFieldExporter.php index c3d26e598..f08d7f8a6 100644 --- a/forms/gridfield/GridFieldExporter.php +++ b/forms/gridfield/GridFieldExporter.php @@ -47,7 +47,7 @@ class GridFieldExporter implements GridField_HTMLProvider, GridField_ActionProvi null ); return array( - 'after' => '

' . htmlentities($button->Field()) . '

', + 'after' => '

' . $button->Field() . '

', ); }