Fix white-space for RSS feeds
This commit is contained in:
parent
97bd1da2a2
commit
1e34a61911
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue