diff --git a/Classes/Backend/Preview/RteImagePreviewRenderer.php b/Classes/Backend/Preview/RteImagePreviewRenderer.php index 14a045e..58b386a 100644 --- a/Classes/Backend/Preview/RteImagePreviewRenderer.php +++ b/Classes/Backend/Preview/RteImagePreviewRenderer.php @@ -47,7 +47,7 @@ public function renderPageModulePreviewContent(GridColumnItem $item): string return $this ->linkEditContent( - $this->renderTextWithHtml($row['bodytext'] ?? ''), + $this->renderTextWithHtml(htmlentities($row['bodytext']) ?? ''), $row ) . '
';