From 700405574f12ef24554893bd7189bd48cee47b1c Mon Sep 17 00:00:00 2001 From: Samuel De Backer Date: Wed, 26 Apr 2023 20:00:19 +0200 Subject: [PATCH] Update FeedController.php --- src/Http/Controllers/FeedController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Http/Controllers/FeedController.php b/src/Http/Controllers/FeedController.php index 100f24ab..ede9cbf9 100644 --- a/src/Http/Controllers/FeedController.php +++ b/src/Http/Controllers/FeedController.php @@ -21,8 +21,8 @@ public function __invoke(string $module) ->get(); $feed = [ - 'title' => $page->title, - 'description' => $page->body, + 'title' => TypiCMS::title().' – '.$page->title, + 'description' => strip_tags($page->body), 'language' => TypiCMS::localeAndRegion('-'), 'image' => $page->present()->image(1200, 630), ];