diff --git a/lib/rbpkg.rb b/lib/rbpkg.rb
index 676220d..e9017c8 100644
--- a/lib/rbpkg.rb
+++ b/lib/rbpkg.rb
@@ -92,7 +92,7 @@ module Rbpkg
EOF
sublogs.each do |d, sublog|
sublog_img = status_img(sublog[:status])
- sublog_html = sublog[:html].to_html
+ sublog_html = (sublog[:html] || sublog[:log]).to_html
sublog_status = sublog[:status].to_s.to_html
output.puts <<-EOF
<li class="list-group-item">