diff options
| author | Omar Roth <omarroth@protonmail.com> | 2019-08-04 09:46:26 -0500 |
|---|---|---|
| committer | Omar Roth <omarroth@protonmail.com> | 2019-08-04 09:46:26 -0500 |
| commit | 4f120e19fd0e287c2202ceef8a20cf09263df0ed (patch) | |
| tree | 8962dd7f95d4142791eeeeb211479411c339f67a | |
| parent | 37d064d8369c675c28f71e481163513163cad2de (diff) | |
| download | invidious-4f120e19fd0e287c2202ceef8a20cf09263df0ed.tar.gz invidious-4f120e19fd0e287c2202ceef8a20cf09263df0ed.tar.bz2 invidious-4f120e19fd0e287c2202ceef8a20cf09263df0ed.zip | |
Fix overflow for channel description
| -rw-r--r-- | src/invidious/views/channel.ecr | 2 | ||||
| -rw-r--r-- | src/invidious/views/community.ecr | 2 | ||||
| -rw-r--r-- | src/invidious/views/playlists.ecr | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/invidious/views/channel.ecr b/src/invidious/views/channel.ecr index 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.ecr index 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.ecr index 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"> |
