BUGFIX SSF-53: fixed that raw html source appears for "Export to CSV" button(SSF-243)

This commit is contained in:
Normann Lou 2012-03-01 12:35:08 +13:00
parent a415034d0a
commit 2dfb4142e0

View File

@ -47,7 +47,7 @@ class GridFieldExporter implements GridField_HTMLProvider, GridField_ActionProvi
null
);
return array(
'after' => '<p>' . htmlentities($button->Field()) . '</p>',
'after' => '<p>' . $button->Field() . '</p>',
);
}