Skip to content

Commit

Permalink
[BUGFIX] Fixes #244: RteImagePreviewRenderer throws warning with inva…
Browse files Browse the repository at this point in the history
…lid HTML
  • Loading branch information
magicsunday committed Aug 10, 2023
1 parent 5aaef60 commit 9fb0b0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Backend/Preview/RteImagePreviewRenderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function renderPageModulePreviewContent(GridColumnItem $item): string

return $this
->linkEditContent(
$this->renderTextWithHtml($row['bodytext'] ?? ''),
$this->renderTextWithHtml(htmlentities($row['bodytext']) ?? ''),
$row
)
. '<br />';
Expand Down

0 comments on commit 9fb0b0e

Please sign in to comment.