mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-08-14.git
synced 2024-08-15 00:53:20 +00:00
Use fill_links once instead of per comment
This commit is contained in:
parent
815aeeb29c
commit
e2b5b7793a
2 changed files with 4 additions and 5 deletions
|
@ -296,6 +296,7 @@ get "/watch" do |env|
|
|||
reddit_comments, reddit_thread = get_reddit_comments(id, reddit_client, headers)
|
||||
reddit_html = template_comments(reddit_comments)
|
||||
|
||||
reddit_html = fill_links(reddit_html, "https", "www.reddit.com")
|
||||
reddit_html = add_alt_links(reddit_html)
|
||||
rescue ex
|
||||
reddit_thread = nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue