Invidious is an alternative front-end to YouTube
add spaces at end of attribute
ChunkyProgrammerb5eb6016bbc4
diff --git a/src/invidious/comments.cr b/src/invidious/comments.crindex b866b6ef..6c323bc1 100644--- a/src/invidious/comments.cr+++ b/src/invidious/comments.cr@@ -336,10 +336,10 @@ def template_youtube_comments(comments, locale, thin_mode, is_replies = false)endif child["isSponsor"].as_boolsponsor_icon = String.build do |str|- str << %(<img alt="")- str << %(src="/ggpht) << URI.parse(child["sponsorIconUrl"].as_s).request_target << '"'- str << %(title=") << translate(locale, "Channel Sponsor") << '"'- str << %(width="16" height="16"/>)+ str << %(<img alt="" )+ str << %(src="/ggpht) << URI.parse(child["sponsorIconUrl"].as_s).request_target << "\" "+ str << %(title=") << translate(locale, "Channel Sponsor") << "\" "+ str << %(width="16" height="16" />)endendhtml << <<-END_HTML@@ -696,12 +696,12 @@ def content_to_comment_html(content, video_id : String? = "")emojiAlt = emojiImage.dig?("accessibility", "accessibilityData", "label").try &.as_s || textemojiThumb = emojiImage["thumbnails"][0]text = String.build do |str|- str << %(<img alt=") << emojiAlt << '"'- str << %(src="/ggpht) << URI.parse(emojiThumb["url"].as_s).request_target << '"'- str << %(title=") << emojiAlt << '"'- str << %(width=") << emojiThumb["width"] << '"'- str << %(height=") << emojiThumb["height"] << '"'- str << %( style="margin-right:2px;margin-left:2px;"/>)+ str << %(<img alt=") << emojiAlt << "\" "+ str << %(src="/ggpht) << URI.parse(emojiThumb["url"].as_s).request_target << "\" "+ str << %(title=") << emojiAlt << "\" "+ str << %(width=") << emojiThumb["width"] << "\" "+ str << %(height=") << emojiThumb["height"] << "\" "+ str << %(style="margin-right:2px;margin-left:2px;"/>)endelse# Hide deleted channel emoji