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
1 changed files with 2 additions and 0 deletions

View File

@ -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