Commit 4c3b31a39a915d8c2fccad157706417c1eab688f

Authored by Leandro Santos
1 parent 41f4497b

CustomFormsPlugin: avoid html safe for nil class

plugins/custom_forms/views/custom_forms_plugin_profile/show.html.erb
1 1 <div id="custom-forms-plugin_submission">
2 2  
3 3 <h1><%= @form.name %></h1>
4   -<p><%= @form.description.html_safe %></p>
  4 +<p><%= (@form.description || "").html_safe %></p>
5 5  
6 6 <% if @submission.id.nil? %>
7 7 <% if @form.expired? %>
... ...