From f6ef0b684a05bc7f0260872268df484a77e78e7f Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Sun, 3 Nov 2019 08:53:16 -0500 Subject: [PATCH] Fix word-break for links in channel RSS --- 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 ca3ae4d7..7b14454b 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-wrap") { xml.text html_to_content(self.description_html) } + xml.element("p", style: "word-break:break-word;white-space:pre-wrap") { xml.text html_to_content(self.description_html) } end end