Fix overflow for channel description

This commit is contained in:
Omar Roth 2019-08-04 09:46:26 -05:00
parent 37d064d836
commit 4f120e19fd
No known key found for this signature in database
GPG Key ID: B8254FB7EC3D37F2
3 changed files with 3 additions and 3 deletions

View File

@ -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">

View File

@ -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">

View File

@ -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">