From 8c998c542c291f268633a726cdb83bcf00a61fe1 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Fri, 27 Oct 2023 17:50:46 +0100 Subject: [PATCH] Use an HTML5 parser for tests --- config/initializers/new_framework_defaults_7_1.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/initializers/new_framework_defaults_7_1.rb b/config/initializers/new_framework_defaults_7_1.rb index fd42322cb..4b92cdcec 100644 --- a/config/initializers/new_framework_defaults_7_1.rb +++ b/config/initializers/new_framework_defaults_7_1.rb @@ -218,4 +218,4 @@ Rails.application.config.action_text.sanitizer_vendor = Rails::HTML::Sanitizer.b # # In previous versions of Rails, these test helpers always used an HTML4 parser. # -# Rails.application.config.dom_testing_default_html_version = :html5 +Rails.application.config.dom_testing_default_html_version = :html5 -- 2.39.5