Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warn against jQuery.UNSAFE_restoreLegacyHtmlPrefilter usage #474

Closed
mgol opened this issue Aug 18, 2022 · 0 comments · Fixed by #518
Closed

Warn against jQuery.UNSAFE_restoreLegacyHtmlPrefilter usage #474

mgol opened this issue Aug 18, 2022 · 0 comments · Fixed by #518
Assignees
Milestone

Comments

@mgol
Copy link
Member

mgol commented Aug 18, 2022

This is unusual as it's not the Core API but I think we should warn against usage of jQuery.UNSAFE_restoreLegacyHtmlPrefilter and recommend calling jQuery.migrateEnablePatches( "self-closed-tags" ) instead. I'd like to drop this method in Migrate 4.x.

@mgol mgol self-assigned this Aug 18, 2022
@mgol mgol added this to the 3.5.0 milestone Feb 28, 2023
mgol added a commit to mgol/jquery-migrate that referenced this issue Jul 8, 2024
This is unusual as it's not the Core API but we support this patch via a more
generic API now:

```
jQuery.migrateEnablePatches( "self-closed-tags" )
```

Fixes jquerygh-474
@mgol mgol closed this as completed in #518 Jul 9, 2024
@mgol mgol closed this as completed in 140119a Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant