Fix white-space for RSS feeds

This commit is contained in:
Omar Roth 2019-10-14 21:06:41 -04:00
parent 97bd1da2a2
commit 1e34a61911
No known key found for this signature in database
GPG Key ID: B8254FB7EC3D37F2
1 changed files with 1 additions and 1 deletions

View File

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