From c0796ac3d63823f00a5895007fbc7643af6c31a5 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Fri, 4 Oct 2019 12:49:58 -0400 Subject: [PATCH] Add description to RSS body --- src/invidious/search.cr | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/invidious/search.cr b/src/invidious/search.cr index 08171ffe..b2fa78f0 100644 --- a/src/invidious/search.cr +++ b/src/invidious/search.cr @@ -24,6 +24,8 @@ struct SearchVideo xml.element("a", href: "#{host_url}/watch?#{query_params}") do 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) } end end