mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
BUGFIX Returning an HTMLText field from UserDefinedForm_Controller->index() instead of the string value - we need to process the string, for example to resolve [link] pseudocode
This commit is contained in:
parent
b4f5229f58
commit
2d46d7ff69
@ -249,7 +249,7 @@ class UserDefinedForm_Controller extends Page_Controller {
|
||||
if($hasLocation) {
|
||||
$content = str_ireplace('$UserDefinedForm', $form->forTemplate(), $this->Content);
|
||||
return array(
|
||||
'Content' => $content,
|
||||
'Content' => DBField::create('HTMLText', $content),
|
||||
'Form' => ""
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user