diff --git a/core/assets/vendor/jquery.ui/ui/jquery.ui.autocomplete.js b/core/assets/vendor/jquery.ui/ui/jquery.ui.autocomplete.js
index 9294511..8785076 100644
--- a/core/assets/vendor/jquery.ui/ui/jquery.ui.autocomplete.js
+++ b/core/assets/vendor/jquery.ui/ui/jquery.ui.autocomplete.js
@@ -529,7 +529,7 @@ $.widget( "ui.autocomplete", {
 
 	_renderItem: function( ul, item ) {
 		return $( "<li>" )
-			.append( $( "<a>" ).text( item.label ) )
+			.append( $( "<a>" ).html( item.label ) )
 			.appendTo( ul );
 	},
 
diff --git a/core/modules/views/lib/Drupal/views/Plugin/entity_reference/selection/ViewsSelection.php b/core/modules/views/lib/Drupal/views/Plugin/entity_reference/selection/ViewsSelection.php
index 7fef5b2..c84bb46 100644
--- a/core/modules/views/lib/Drupal/views/Plugin/entity_reference/selection/ViewsSelection.php
+++ b/core/modules/views/lib/Drupal/views/Plugin/entity_reference/selection/ViewsSelection.php
@@ -169,7 +169,7 @@ public function getReferenceableEntities($match = NULL, $match_operator = 'CONTA
     if ($result) {
       foreach($this->view->result as $row) {
         $entity = $row->_entity;
-        $return[$entity->bundle()][$entity->id()] = $entity->label();
+        $return[$entity->bundle()][$entity->id()] = $result[$entity->id()];
       }
     }
     return $return;
