mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
enable Shortcode parsing using $this->dbObject instead of manually invoking the shortcode parsers
This commit is contained in:
parent
d6d61635be
commit
184a433a15
@ -145,7 +145,7 @@ class EditableLiteralField extends EditableFormField
|
|||||||
Convert::raw2htmlname($this->Name),
|
Convert::raw2htmlname($this->Name),
|
||||||
Convert::raw2att($classes),
|
Convert::raw2att($classes),
|
||||||
$label,
|
$label,
|
||||||
ShortcodeParser::get_active()->parse($this->Content)
|
$this->dbObject('Content')
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user