From 0f66ff50a4e739008bc52f53a9fb20e7baaca0c7 Mon Sep 17 00:00:00 2001 From: Lukas Date: Mon, 7 Dec 2020 13:10:00 +0100 Subject: [PATCH] Fix #1516 Document is empty --- src/invidious/views/playlists.ecr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/invidious/views/playlists.ecr b/src/invidious/views/playlists.ecr index 0c48be96e..a77d106dc 100644 --- a/src/invidious/views/playlists.ecr +++ b/src/invidious/views/playlists.ecr @@ -27,7 +27,7 @@
-

<%= XML.parse_html(channel.description_html).xpath_node(%q(.//pre)).try &.content %>

+

<%= XML.parse_html(channel.description_html).xpath_node(%q(.//pre)).try &.content if !channel.description_html.empty? %>