diff options
| author | 2025-09-15 22:26:45 +0200 | |
|---|---|---|
| committer | 2025-09-15 22:26:45 +0200 | |
| commit | ea366d597f3af164a90eb6d58a7525d23a1418f0 (patch) | |
| tree | e21726eb0dc0aa1899f6de8dbfcf507d8d7283cd /app/views | |
| parent | ddb51c0e95074c6fbddade547ca267801177bb01 (diff) | |
Minor RSS output whitespace reduction (#7969)
fix https://github.com/FreshRSS/FreshRSS/issues/7968
Diffstat (limited to 'app/views')
| -rw-r--r-- | app/views/index/rss.phtml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/app/views/index/rss.phtml b/app/views/index/rss.phtml index 36d003453..7d92bd140 100644 --- a/app/views/index/rss.phtml +++ b/app/views/index/rss.phtml @@ -3,9 +3,8 @@ /** @var FreshRSS_View $this */ ?> <?= '<?xml version="1.0" encoding="UTF-8" ?>'; ?> -<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:media="http://search.yahoo.com/mrss/" - <?= $this->rss_base == '' ? '' : ' xml:base="' . $this->rss_base . '"' ?> -> +<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:media="http://search.yahoo.com/mrss/" <?= + $this->rss_base === '' ? '' : ' xml:base="' . $this->rss_base . '"' ?>> <channel> <title><?= $this->rss_title ?></title> <link><?= $this->html_url ?></link> |
