mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-02 17:03:25 +05:30
Fix word-break for links in channel RSS
This commit is contained in:
parent
02e1cdf210
commit
f6ef0b684a
@ -25,7 +25,7 @@ struct SearchVideo
|
|||||||
xml.element("img", src: "#{host_url}/vi/#{self.id}/mqdefault.jpg")
|
xml.element("img", src: "#{host_url}/vi/#{self.id}/mqdefault.jpg")
|
||||||
end
|
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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user