We were doing it manually, but Capybara offers an option which does the exact same thing. This way we also apply the NoJavascriptTagHelper ERB rule, which reported one error in the `disable_animations_in_tests` partial.
SpaceAroundErbTag
sanitize
html_safe
raw
SpaceInHtmlTag