Fix switch to using the Convert class for decoding

This commit is contained in:
Christopher Joe 2017-10-20 14:43:19 +13:00
parent 6a8540d6d6
commit 4caf34506a

View File

@ -254,7 +254,7 @@ class GridFieldAddExistingAutocompleter implements GridField_HTMLProvider, GridF
SSViewer::config()->update('source_file_comments', false);
$viewer = SSViewer::fromString($this->resultsFormat);
foreach ($results as $result) {
$title = html_entity_decode($viewer->process($result));
$title = Convert::html2raw($viewer->process($result));
$json[] = array(
'label' => $title,
'value' => $title,