diff options
| author | TheFrenchGhosty <47571719+TheFrenchGhosty@users.noreply.github.com> | 2020-12-07 16:23:00 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-07 16:23:00 +0000 |
| commit | 44a4cea3a267fc96792b2f98076887d2fd440c44 (patch) | |
| tree | f078d2430540f803422463f6afe27a96c180edd5 /src | |
| parent | af515856c2030ec89a37bd59dc890533c349e013 (diff) | |
| parent | 0f66ff50a4e739008bc52f53a9fb20e7baaca0c7 (diff) | |
| download | invidious-44a4cea3a267fc96792b2f98076887d2fd440c44.tar.gz invidious-44a4cea3a267fc96792b2f98076887d2fd440c44.tar.bz2 invidious-44a4cea3a267fc96792b2f98076887d2fd440c44.zip | |
Merge pull request #1546 from schwukas/fix-empty-documents
Fix #1516 Document is empty
Diffstat (limited to 'src')
| -rw-r--r-- | src/invidious/views/playlists.ecr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/invidious/views/playlists.ecr b/src/invidious/views/playlists.ecr index 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"> |
