]> git.openstreetmap.org Git - rails.git/commitdiff
Use an HTML5 parser for tests
authorTom Hughes <tom@compton.nu>
Fri, 27 Oct 2023 16:50:46 +0000 (17:50 +0100)
committerTom Hughes <tom@compton.nu>
Fri, 27 Oct 2023 16:50:46 +0000 (17:50 +0100)
config/initializers/new_framework_defaults_7_1.rb

index fd42322cbd25a7f42bf1d4ff5e06ebb3c0ae7be8..4b92cdcec7c28c535cc49687fcaa040b1ac17b3e 100644 (file)
@@ -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