diff --git a/typo3/sysext/frontend/Classes/Plugin/AbstractPlugin.php b/typo3/sysext/frontend/Classes/Plugin/AbstractPlugin.php index 5738e7191dc1def9815b6e59ab78d57113091040..13c78d50b94a152c7a12f2a74377e428e02dd49c 100644 --- a/typo3/sysext/frontend/Classes/Plugin/AbstractPlugin.php +++ b/typo3/sysext/frontend/Classes/Plugin/AbstractPlugin.php @@ -603,7 +603,7 @@ class AbstractPlugin $links[] = $this->cObj->wrap($this->pi_linkTP_keepPIvars($hscText ? htmlspecialchars($label) : $label, [$pointerName => null], $pi_isOnlyFields), $wrapper['inactiveLinkWrap']); } else { $label = $this->pi_getLL('pi_list_browseresults_first', '<< First'); - $links[] = $this->cObj->wrap(hscText ? htmlspecialchars($label) : $label, $wrapper['disabledLinkWrap']); + $links[] = $this->cObj->wrap($hscText ? htmlspecialchars($label) : $label, $wrapper['disabledLinkWrap']); } } // Link to previous page @@ -622,7 +622,7 @@ class AbstractPlugin $pageText = ($a * $results_at_a_time + 1) . '-' . min($count, ($a + 1) * $results_at_a_time); } else { $label = $this->pi_getLL('pi_list_browseresults_page', 'Page'); - $pageText = trim($hscText ? htmlspecialchars($label) : $label . ' ' . ($a + 1)); + $pageText = trim(($hscText ? htmlspecialchars($label) : $label) . ' ' . ($a + 1)); } // Current page if ($pointer == $a) {