Skip to content

HTML Sanitizer API - remove Sanitizer and Element.setHTML() - #23989

Merged
Elchi3 merged 1 commit into
mdn:mainfrom
hamishwillee:remove_santizer_api
Jul 30, 2024
Merged

Elchi3 merged 1 commit into
mdn:mainfrom
hamishwillee:remove_santizer_api

Conversation

@hamishwillee

Copy link
Copy Markdown
Contributor

This removes the HTML Sanitizer API records - specifically Sanitizer and it's methods, and api.Element.setHTML().

The API was added prematurely and briefly and has since been withdrawn everywhere. It is coming back but the spec is significantly modified. If we try and extend this current information it is going to be hard to present a coherent story to users. The API is not quite 2 years out of all browsers, but not far away either.

So I'm removing this and the docs in MDN so we can start fresh.

MDN URL is: mdn/content#35238

FYI @Elchi3 - as discussed.

@github-actions github-actions Bot added the data:api Compatibility data for Web API features. https://developer.mozilla.org/docs/Web/API label Jul 30, 2024

@Elchi3 Elchi3 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Hamish 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data:api Compatibility data for Web API features. https://developer.mozilla.org/docs/Web/API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants