Gave them marks some space and added nil checks

This commit is contained in:
jonas-w
2022-02-07 02:25:34 +01:00
parent fe55141a7b
commit f8b29674b2
6 changed files with 11 additions and 11 deletions

View File

@@ -330,7 +330,7 @@ def template_youtube_comments(comments, locale, thin_mode, is_replies = false)
author_name = HTML.escape(child["author"].as_s)
if child["verified"]?.try &.as_bool
author_name += "<i class=\"icon ion ion-md-checkmark-circle\"></i>"
author_name += " <i class=\"icon ion ion-md-checkmark-circle\"></i>"
end
html << <<-END_HTML
<div class="pure-g" style="width:100%">