Use an HTML5 parser in test helpers

I think this doesn't affect us because we use RSpec instead of Rails
test classes. In any case, if it ever affects us, we'll get notified
when a test fails.
This commit is contained in:
Javi Martín
2024-04-15 17:22:02 +02:00
parent 140619ff00
commit 3432c385bc

View File

@@ -256,4 +256,4 @@ Rails.application.config.action_dispatch.debug_exception_log_level = :error
#
# 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