mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Merge pull request #5233 from kinglozzer/5129-gridfield-shortcode-parsing
FIX: GridField::FieldHolder() should not attempt to parse shortcodes (fixes #5129)
This commit is contained in:
commit
bea85c22a5
@ -501,11 +501,14 @@ class GridField extends FormField {
|
||||
$header . "\n" . $footer . "\n" . $body
|
||||
);
|
||||
|
||||
return DBField::create_field('HTMLText', FormField::create_tag(
|
||||
$field = DBField::create_field('HTMLText', FormField::create_tag(
|
||||
'fieldset',
|
||||
$fieldsetAttributes,
|
||||
$content['before'] . $table . $content['after']
|
||||
));
|
||||
$field->setOptions(array('shortcodes' => false));
|
||||
|
||||
return $field;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user