mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2025-12-24 03:48:49 +00:00
Comments: Move 'template_reddit' function to own file + module
This commit is contained in:
@@ -361,7 +361,7 @@ module Invidious::Routes::API::V1::Videos
|
||||
|
||||
return reddit_thread.to_json
|
||||
else
|
||||
content_html = template_reddit_comments(comments, locale)
|
||||
content_html = Frontend::Comments.template_reddit(comments, locale)
|
||||
content_html = fill_links(content_html, "https", "www.reddit.com")
|
||||
content_html = replace_links(content_html)
|
||||
response = {
|
||||
|
||||
Reference in New Issue
Block a user