only in patch2: unchanged: --- a/core/modules/views/src/Plugin/views/field/FieldPluginBase.php +++ b/core/modules/views/src/Plugin/views/field/FieldPluginBase.php @@ -1246,7 +1246,6 @@ public function renderText($alter) { $value = strip_tags($value, $alter['preserve_tags']); } - $suffix = ''; if (!empty($alter['trim']) && !empty($alter['max_length'])) { $length = strlen($value); $value = $this->renderTrimText($alter, $value); @@ -1267,8 +1266,6 @@ public function renderText($alter) { // @todo Views should expect and store a leading /. See // https://www.drupal.org/node/2423913. $more_link = \Drupal::l($more_link_text, CoreUrl::fromUserInput('/' . $more_link_path, array('attributes' => array('class' => array('views-more-link'))))); - - $suffix .= " " . $more_link; } } @@ -1283,8 +1280,10 @@ public function renderText($alter) { } $value = $this->renderAsLink($alter, $value, $tokens); } - - return $value . $suffix; + if (isset($more_link)) { + $value .= " " . $more_link; + } + return $value; } /**