From 24f696602751a022909d2b5253d2f30f8167a005 Mon Sep 17 00:00:00 2001 From: cryptogopher Date: Tue, 25 Apr 2023 18:12:17 +0200 Subject: [PATCH] Remove unneeded html_safe from field_error_proc --- config/environment.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/environment.rb b/config/environment.rb index 43dd201..97f6a50 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -5,4 +5,4 @@ require_relative "application" Rails.application.initialize! # Disable field_with_errors div wrapper for form inputs -ActionView::Base.field_error_proc = Proc.new { |html_tag, instance| html_tag.html_safe } +ActionView::Base.field_error_proc = Proc.new { |html_tag, instance| html_tag }