Skip to content

Commit

Permalink
[BUGFIX] Added html_entity_decode to title and description within sni…
Browse files Browse the repository at this point in the history
…ppet preview
  • Loading branch information
RinyVT committed Dec 13, 2020
1 parent b736181 commit d059da7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Classes/Service/PreviewService.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ protected function getDataFromContent($content, $uriToCheck): array
'url' => $url,
'baseUrl' => $baseUrl,
'slug' => '/',
'title' => $title,
'description' => $metaDescription,
'title' => html_entity_decode($title),
'description' => html_entity_decode($metaDescription),
'locale' => $locale,
'body' => $body,
'faviconSrc' => $faviconSrc,
Expand Down

0 comments on commit d059da7

Please sign in to comment.