Fix #1516 Document is empty

pull/1546/head
Lukas 4 years ago
parent 4184fb3ae7
commit 0f66ff50a4

@ -27,7 +27,7 @@
</div> </div>
<div class="h-box"> <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>
<div class="h-box"> <div class="h-box">

Loading…
Cancel
Save