- Add XSS protections to ActionView::Helpers and ERB::Util, introducing ERB::Util.xml_name_escape for safe XML tag and attribute names.
- Rename the :escape_attributes option to :escape in tag helpers for simpler, whole‑tag escaping.
- Allow Content Security Policy DSL to generate CSP headers for API responses.