diff --git a/app/Commands/FeedCommand.php b/app/Commands/FeedCommand.php index cf7d98221b2..9860a4ca43f 100644 --- a/app/Commands/FeedCommand.php +++ b/app/Commands/FeedCommand.php @@ -54,15 +54,17 @@ static function (Collection $carry, string $line) use (&$date): Collection { 'date' => Date::createFromTimestamp(strtotime((string) $date)), 'title' => $title = (string) $line->match('/\[.*\]/')->trim('[]'), 'link' => $link = (string) $line->match('/\(.*\)/')->trim('()'), - 'content' => << -
- - - HTML, + 'content' => htmlspecialchars( + << + + + + HTML + ), ]); }, collect()