Invidious is an alternative front-end to YouTube
Fix #1516 Document is empty
Lukas0f66ff50a4e7
diff --git a/src/invidious/views/playlists.ecr b/src/invidious/views/playlists.ecrindex 0c48be96..a77d106d 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-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">