Add description to RSS body

This commit is contained in:
Omar Roth 2019-10-04 12:49:58 -04:00
parent 68be24ffc6
commit c0796ac3d6
No known key found for this signature in database
GPG key ID: B8254FB7EC3D37F2

View file

@ -24,6 +24,8 @@ struct SearchVideo
xml.element("a", href: "#{host_url}/watch?#{query_params}") do xml.element("a", href: "#{host_url}/watch?#{query_params}") do
xml.element("img", src: "#{host_url}/vi/#{self.id}/mqdefault.jpg") xml.element("img", src: "#{host_url}/vi/#{self.id}/mqdefault.jpg")
end end
xml.element("p", style: "white-space:pre") { xml.text html_to_content(self.description_html) }
end end
end end