Sha256: fc78c8692cc3096a09eff5043f21e407ef7a9f4fee869d1b092f826aad665671

Contents?: true

Size: 263 Bytes

Versions: 1

Compression:

Stored size: 263 Bytes

Contents

<% note.body.split("\n").each_with_index do |paragraph, index| %>
  <%= Decidim::ContentRenderers::LinkRenderer.new(paragraph).render("data-external-link"=> false).html_safe %>
  <% unless index == note.body.split("\n").size - 1 %>
    <br>
  <% end %>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
decidim-reporting_proposals-0.6.0 app/views/decidim/proposals/admin/proposal_notes/_proposal_notes_body.html.erb