From 4c3b31a39a915d8c2fccad157706417c1eab688f Mon Sep 17 00:00:00 2001 From: Leandro Nunes dos Santos Date: Mon, 4 Jul 2016 18:19:18 -0300 Subject: [PATCH] CustomFormsPlugin: avoid html safe for nil class --- plugins/custom_forms/views/custom_forms_plugin_profile/show.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/custom_forms/views/custom_forms_plugin_profile/show.html.erb b/plugins/custom_forms/views/custom_forms_plugin_profile/show.html.erb index 64ec9f8..5dae7a7 100644 --- a/plugins/custom_forms/views/custom_forms_plugin_profile/show.html.erb +++ b/plugins/custom_forms/views/custom_forms_plugin_profile/show.html.erb @@ -1,7 +1,7 @@

<%= @form.name %>

-

<%= @form.description.html_safe %>

+

<%= (@form.description || "").html_safe %>

<% if @submission.id.nil? %> <% if @form.expired? %> -- libgit2 0.21.2