Invidious is an alternative front-end to YouTube
Fix overflow for channel description
Omar Roth4f120e19fd0e
diff --git a/src/invidious/views/channel.ecr b/src/invidious/views/channel.ecrindex 9e7ec88c..b5eb46ea 100644--- a/src/invidious/views/channel.ecr+++ b/src/invidious/views/channel.ecr@@ -28,7 +28,7 @@</div><div class="h-box">- <p><span style="white-space:pre"><%= XML.parse_html(channel.description_html).xpath_node(%q(.//pre)).try &.content %></span></p>+ <p><span style="white-space:pre-wrap"><%= XML.parse_html(channel.description_html).xpath_node(%q(.//pre)).try &.content %></span></p></div><div class="h-box">diff --git a/src/invidious/views/community.ecr b/src/invidious/views/community.ecrindex 732ae9bd..218cc2d4 100644--- a/src/invidious/views/community.ecr+++ b/src/invidious/views/community.ecr@@ -27,7 +27,7 @@</div><div class="h-box">- <p><span style="white-space:pre"><%= XML.parse_html(channel.description_html).xpath_node(%q(.//pre)).try &.content %></span></p>+ <p><span style="white-space:pre-wrap"><%= XML.parse_html(channel.description_html).xpath_node(%q(.//pre)).try &.content %></span></p></div><div class="h-box">diff --git a/src/invidious/views/playlists.ecr b/src/invidious/views/playlists.ecrindex 216f4475..a32192b5 100644--- a/src/invidious/views/playlists.ecr+++ b/src/invidious/views/playlists.ecr@@ -27,7 +27,7 @@</div><div class="h-box">- <p><span style="white-space:pre"><%= XML.parse_html(channel.description_html).xpath_node(%q(.//pre)).try &.content %></span></p>+ <p><span style="white-space:pre-wrap"><%= XML.parse_html(channel.description_html).xpath_node(%q(.//pre)).try &.content %></span></p></div><div class="h-box">