Use an HTML5 parser for tests

This commit is contained in:
Tom Hughes 2023-10-27 17:50:46 +01:00
parent 64f2517426
commit 8c998c542c

View 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