mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #7502 from open-sausages/pulls/4.0/i-converted-an-apple-to-an-orange
Fix switch to using the Convert class for decoding
This commit is contained in:
commit
13afd6f0d5
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user