summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOmar Roth <omarroth@protonmail.com>2019-10-14 21:06:41 -0400
committerOmar Roth <omarroth@protonmail.com>2019-10-14 21:07:07 -0400
commit1e34a61911bf786497793b6fe3f309a411a32aae (patch)
tree80b9772ce8e1fc1c93002ebc6f55de1f5a4e6a9f
parent97bd1da2a2dc1f80bd5c054158ad4999893828af (diff)
downloadinvidious-1e34a61911bf786497793b6fe3f309a411a32aae.tar.gz
invidious-1e34a61911bf786497793b6fe3f309a411a32aae.tar.bz2
invidious-1e34a61911bf786497793b6fe3f309a411a32aae.zip
Fix white-space for RSS feeds
-rw-r--r--src/invidious/search.cr2
1 files changed, 1 insertions, 1 deletions
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