app/views/decidim/assemblies/assemblies/_promoted_assembly.html.erb in decidim-assemblies-0.25.2 vs app/views/decidim/assemblies/assemblies/_promoted_assembly.html.erb in decidim-assemblies-0.26.0.rc1
- old
+ new
@@ -3,10 +3,10 @@
<div class="columns mediumlarge-8 large-6 card--process__column">
<div class="card__content">
<%= link_to assembly_path(promoted_assembly), class: "card__link" do %>
<h2 class="card__title"><%= translated_attribute promoted_assembly.title %></h2>
<% end %>
- <%= decidim_sanitize html_truncate(translated_attribute(promoted_assembly.short_description), length: 630, separator: "...") %>
+ <%= decidim_sanitize_editor html_truncate(translated_attribute(promoted_assembly.short_description), length: 630, separator: "...") %>
<%= link_to assembly_path(promoted_assembly), class: "button small hollow card__button" do %>
<%= t("assemblies.promoted_assembly.more_info", scope: "layouts.decidim") %>
<% end %>
</div>
</div>