Skip to content

Commit

Permalink
rex_escape bei description
Browse files Browse the repository at this point in the history
  • Loading branch information
skerbis authored Jan 1, 2024
1 parent b7e1d86 commit 01e828e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/rex_api_neues_rss.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@ public function execute(): void

if ($category_id && $category = neues_category::get($category_id)) {
$collection = neues_entry::findOnline($category_id);
$categoryname = rex_string::normalize($category->getName());
$filename = 'rss.neues.' . $categoryname . '.xml';
$description = 'RSS-FEED: ' . rex::getServerName() . ' | ' . $categoryname;
$filename = 'rss.neues.' . rex_string::normalize($category->getName()) . '.xml';
$description = 'RSS-FEED: ' . rex::getServerName() . ' | ' . rex_escape($category->getName());
} else {
$collection = neues_entry::findOnline();
$description = 'RSS-FEED: ' . rex::getServerName();
Expand Down

0 comments on commit 01e828e

Please sign in to comment.