Upgraded drupal core with security updates
[yaffs-website] / web / core / modules / views_ui / src / ViewUI.php
index b6841a84bc6da859f7b1a91656777e858cb6bed3..2e7fabd62bf0c0413cdeda1ff53284043c61fe29 100644 (file)
@@ -4,7 +4,6 @@ namespace Drupal\views_ui;
 
 use Drupal\Component\Utility\Html;
 use Drupal\Component\Utility\Timer;
-use Drupal\Component\Utility\Xss;
 use Drupal\Core\EventSubscriber\AjaxResponseSubscriber;
 use Drupal\Core\Form\FormStateInterface;
 use Drupal\views\Views;
@@ -688,7 +687,11 @@ class ViewUI implements ViewEntityInterface {
                   '#template' => "<strong>{% trans 'Title' %}</strong>",
                 ],
               ],
-              Xss::filterAdmin($executable->getTitle()),
+              [
+                'data' => [
+                  '#markup' => $executable->getTitle(),
+                ],
+              ],
             ];
             if (isset($path)) {
               // @todo Views should expect and store a leading /. See: