Skip to content

Commit f5e5a4b

Browse files
committed
html_safe for amendment title to avoid escape from i18n
1 parent 093d48d commit f5e5a4b

File tree

1 file changed

+1
-1
lines changed
  • decidim-proposals/app/views/decidim/proposals/proposals

1 file changed

+1
-1
lines changed

decidim-proposals/app/views/decidim/proposals/proposals/show.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ extra_admin_link(
4040
<%= emendation_announcement_for @proposal %>
4141

4242
<% if @proposal.emendation? %>
43-
<h1 class="h2 decorator"><%= t("changes_at_title", scope: "decidim.proposals.proposals.show", title: present(@proposal.amendable).title(links: true, html_escape: true)) %></h1>
43+
<h1 class="h2 decorator"><%= t("changes_at_title", scope: "decidim.proposals.proposals.show", title: present(@proposal.amendable).title(links: true, html_escape: true)).html_safe %></h1>
4444
<% else %>
4545
<h1 class="h2 decorator"><%= present(@proposal).title(links: true, html_escape: true) %></h1>
4646
<% end %>

0 commit comments

Comments
 (0)