diff -u b/core/modules/node/src/Plugin/views/field/Path.php b/core/modules/node/src/Plugin/views/field/Path.php --- b/core/modules/node/src/Plugin/views/field/Path.php +++ b/core/modules/node/src/Plugin/views/field/Path.php @@ -7,11 +7,9 @@ namespace Drupal\node\Plugin\views\field; -use Drupal\Component\Utility\Xss; use Drupal\Core\Form\FormStateInterface; use Drupal\views\Plugin\views\field\FieldPluginBase; use Drupal\views\Plugin\views\display\DisplayPluginBase; -use Drupal\views\Render\ViewsRenderPipelineMarkup; use Drupal\views\ResultRow; use Drupal\views\ViewExecutable; @@ -70,8 +68,10 @@ */ public function render(ResultRow $values) { $nid = $this->getValue($values, 'nid'); - $url = \Drupal::url('entity.node.canonical', ['node' => $nid], ['absolute' => $this->options['absolute']]); - return ViewsRenderPipelineMarkup::create(Xss::filterAdmin($url)); + $url = array( + '#markup' => \Drupal::url('entity.node.canonical', ['node' => $nid], ['absolute' => $this->options['absolute']]) + ); + return $url; } }