diff --git a/app/views/links/_details.html.erb b/app/views/links/_details.html.erb index c9095a39..f1ec7196 100644 --- a/app/views/links/_details.html.erb +++ b/app/views/links/_details.html.erb @@ -1,5 +1,5 @@ <% target = "link_details_#{link.id}" %> -<% e621_url = "https://e621.net/posts?md5=#{ CGI.escape(link.post_url[/\w*(?=\.(png|jpg|bmp|webm|mp4|gif)$)/]) }" if link.post_url %> +<% e621_url = "https://e621.net/posts?md5=#{ CGI.escape(link.post_url[/\w*(?=\.(png|jpg|bmp|webm|mp4|gif|webp)$)/]) }" if link.post_url %> <% client = link_agent_to_icon link.last_ping_user_agent %> <% devices = { desktop: :desktop,