diff options
author | 2025-03-02 19:32:33 -0800 | |
---|---|---|
committer | 2025-03-02 19:32:33 -0800 | |
commit | 8b16dd20f6544af3eedf286e23c0d34ab525736c (patch) | |
tree | ec284e22a046c4c8e9626e3fa64a000a2747bf84 /formats/MrssFormat.php | |
parent | b183aa798af48af556496c42780d6e844172cf44 (diff) | |
parent | 00a24e2f694a319a5e6cb070dddfff2dae892378 (diff) | |
download | rss-bridge-master.tar.gz rss-bridge-master.tar.zst rss-bridge-master.zip |
Diffstat (limited to 'formats/MrssFormat.php')
-rw-r--r-- | formats/MrssFormat.php | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/formats/MrssFormat.php b/formats/MrssFormat.php index f7b11949..4066ec73 100644 --- a/formats/MrssFormat.php +++ b/formats/MrssFormat.php @@ -80,14 +80,8 @@ class MrssFormat extends FormatAbstract $feedUrl = get_current_url(); $linkSelf->setAttribute('href', $feedUrl); } elseif ($feedKey === 'icon') { - $allowedIconExtensions = [ - '.gif', - '.jpg', - '.png', - '.ico', - ]; $icon = $feedValue; - if ($icon && in_array(substr($icon, -4), $allowedIconExtensions)) { + if ($icon) { $feedImage = $document->createElement('image'); $channel->appendChild($feedImage); $iconUrl = $document->createElement('url'); |