diff --git a/src/invidious/helpers.cr b/src/invidious/helpers.cr index 5bb30c07..314561e1 100644 --- a/src/invidious/helpers.cr +++ b/src/invidious/helpers.cr @@ -569,7 +569,7 @@ def template_youtube_comments(comments)

- [ - ] #{child["likeCount"]} #{child["author"]} + [ - ] #{child["likeCount"]} #{child["author"]}

#{child["content"]} @@ -613,7 +613,7 @@ def template_reddit_comments(root) content = <<-END_HTML

- [ - ] #{score} #{author} + [ - ] #{score} #{author}

#{body_html} @@ -684,13 +684,13 @@ def add_alt_links(html) alt_link = <<-END_HTML - + END_HTML elsif url.host == "youtu.be" alt_link = <<-END_HTML - + END_HTML elsif url.to_s == "#" diff --git a/src/invidious/views/watch.ecr b/src/invidious/views/watch.ecr index f135235b..3d165482 100644 --- a/src/invidious/views/watch.ecr +++ b/src/invidious/views/watch.ecr @@ -315,11 +315,11 @@ get_youtube_comments(); <%= HTML.escape(video.title) %> <% if listen %> - + <% else %> - + <% end %> @@ -328,9 +328,9 @@ get_youtube_comments();
-

<%= number_with_separator(video.views) %>

-

<%= number_with_separator(video.likes) %>

-

<%= number_with_separator(video.dislikes) %>

+

<%= number_with_separator(video.views) %>

+

<%= number_with_separator(video.likes) %>

+

<%= number_with_separator(video.dislikes) %>

Genre : <%= video.genre %>

Family Friendly? <%= video.is_family_friendly %>

Wilson Score : <%= video.wilson_score.round(4) %>