mirror of
https://github.com/iv-org/invidious.git
synced 2026-10-20 20:58:01 +05:30
Fix #1516 Document is empty
This commit is contained in:
1 parent
4184fb3ae7
commit
0f66ff50a4
1 file changed
+1
-1
@@ -27,7 +27,7 @@
|
||||
</div>
|
||||
|
||||
<div class="h-box">
|
||||
<p><span style="white-space:pre-wrap"><%= 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 if !channel.description_html.empty? %></span></p>
|
||||
</div>
|
||||
|
||||
<div class="h-box">
|
||||
|
||||
Reference in new issue
Block a user