enable Shortcode parsing using $this->dbObject instead of manually invoking the shortcode parsers

This commit is contained in:
Eduard Briem 2016-11-07 11:42:55 +13:00
parent d6d61635be
commit 184a433a15

View File

@ -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')
) )
); );