app/views/decidim/debates/debates/show.html.erb in decidim-debates-0.25.0.rc1 vs app/views/decidim/debates/debates/show.html.erb in decidim-debates-0.25.0.rc2
- old
+ new
@@ -1,8 +1,8 @@
<% add_decidim_meta_tags({
description: translated_attribute(debate.description),
- title: present(debate).title,
+ title: present(debate).title(html_escape: true ),
url: debate_url(debate.id)
}) %>
<%
edit_link(
@@ -20,10 +20,10 @@
<%= t(".back") %>
<% end %>
</div>
<h2 class="heading3">
- <%== present(debate).title(links: true) %>
+ <%== present(debate).title(links: true, html_escape: true) %>
</h2>
<% debate_presenter = Decidim::Debates::DebatePresenter.new(debate) %>
<%= cell "decidim/author", debate_presenter.author, from: debate, context: { extra_classes: ["author-data--small"] } %>
</div>