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