mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-08-14.git
synced 2024-08-15 00:53:20 +00:00
Fix #1516 Document is empty
This commit is contained in:
parent
4184fb3ae7
commit
0f66ff50a4
1 changed files with 1 additions and 1 deletions
|
@ -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">
|
||||
|
|
Loading…
Reference in a new issue