static_fe: fix HTML quotation for upload alt text

Reported by riley on IRC
This commit is contained in:
Oneric 2025-01-09 20:40:59 +01:00
parent 46148c0825
commit 1b09b9fc22

View file

@ -1,4 +1,4 @@
<a class="attachment" href="<%= @url %>" alt=<%= @name %>" title="<%= @name %>">
<a class="attachment" href="<%= @url %>" alt="<%= @name %>" title="<%= @name %>">
<%= if @nsfw do %>
<div class="nsfw-banner">
<div><%= gettext("Hover to show content") %></div>