app/views/decidim/assemblies/assemblies/_promoted_assembly.html.erb in decidim-assemblies-0.6.8 vs app/views/decidim/assemblies/assemblies/_promoted_assembly.html.erb in decidim-assemblies-0.7.0

- 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 %> - <%== html_truncate(translated_attribute(promoted_assembly.short_description), length: 630, separator: '...') %> + <%= sanitize html_truncate(translated_attribute(promoted_assembly.short_description), length: 630, separator: '...') %> <%= link_to assembly_path(promoted_assembly), class: "button secondary small hollow card__button" do %> <%= t("assemblies.promoted_assembly.more_info", scope: "layouts.decidim") %> <% end %> </div> </div>