diff --git a/forms/gridfield/GridFieldDetailForm.php b/forms/gridfield/GridFieldDetailForm.php index 0c7dc2187..443c665c8 100644 --- a/forms/gridfield/GridFieldDetailForm.php +++ b/forms/gridfield/GridFieldDetailForm.php @@ -508,9 +508,11 @@ class GridFieldDetailForm_ItemRequest extends RequestHandler { // TODO Save this item into the given relationship - $link = '"' - . htmlspecialchars($this->record->Title, ENT_QUOTES) - . '"'; + // TODO Allow HTML in form messages + // $link = '"' + // . htmlspecialchars($this->record->Title, ENT_QUOTES) + // . '"'; + $link = '"' . $this->record->Title . '"'; $message = _t( 'GridFieldDetailForm.Saved', 'Saved {name} {link}',