Fix white-space for RSS feeds

pull/673/head
Omar Roth 5 years ago
parent 97bd1da2a2
commit 1e34a61911
No known key found for this signature in database
GPG Key ID: B8254FB7EC3D37F2

@ -25,7 +25,7 @@ struct SearchVideo
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) } xml.element("p", style: "white-space:pre-wrap") { xml.text html_to_content(self.description_html) }
end end
end end

Loading…
Cancel
Save