From 1e34a61911bf786497793b6fe3f309a411a32aae Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Mon, 14 Oct 2019 21:06:41 -0400 Subject: [PATCH] Fix white-space for RSS feeds --- src/invidious/search.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/invidious/search.cr b/src/invidious/search.cr index b2fa78f0..e62d1310 100644 --- a/src/invidious/search.cr +++ b/src/invidious/search.cr @@ -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