Skip to content

Invidious is an alternative front-end to YouTube

Fix white-space for RSS feeds

Omar Roth1e34a61911bf
diff --git a/src/invidious/search.cr b/src/invidious/search.cr
index b2fa78f0..e62d1310 100644
--- a/src/invidious/search.cr
+++ b/src/invidious/search.cr
@@ -25,7 +25,7 @@ struct SearchVideo
xml.element("img", src: "#{host_url}/vi/#{self.id}/mqdefault.jpg")
end
- xml.element("p", style: "white-space:pre") { xml.text html_to_content(self.description_html) }
+ xml.element("p", style: "white-space:pre-wrap") { xml.text html_to_content(self.description_html) }
end
end