summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOmar Roth <omarroth@protonmail.com>2019-11-03 08:53:16 -0500
committerOmar Roth <omarroth@protonmail.com>2019-11-03 08:53:16 -0500
commitf6ef0b684a05bc7f0260872268df484a77e78e7f (patch)
treec268a39b41efd25a0b3e129e1fd2dc6351a1ab17
parent02e1cdf2104383f65e1f313ded326843aee77efe (diff)
downloadinvidious-f6ef0b684a05bc7f0260872268df484a77e78e7f.tar.gz
invidious-f6ef0b684a05bc7f0260872268df484a77e78e7f.tar.bz2
invidious-f6ef0b684a05bc7f0260872268df484a77e78e7f.zip
Fix word-break for links in channel RSS
-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 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