Skip to content

Invidious is an alternative front-end to YouTube

Add missing xml.text on "title" element for channels RSS (#5320)

Fijxu4b37d47ebbc4
diff --git a/src/invidious/routes/feeds.cr b/src/invidious/routes/feeds.cr
index abfea9ee..070c96eb 100644
--- a/src/invidious/routes/feeds.cr
+++ b/src/invidious/routes/feeds.cr
@@ -202,7 +202,7 @@ module Invidious::Routes::Feeds
xml.element("link", rel: "self", href: "#{HOST_URL}#{env.request.resource}")
xml.element("id") { xml.text "yt:channel:#{ucid}" }
xml.element("yt:channelId") { xml.text ucid }
- xml.element("title") { author }
+ xml.element("title") { xml.text author }
xml.element("link", rel: "alternate", href: "#{HOST_URL}/channel/#{ucid}")
xml.element("author") do