-
Notifications
You must be signed in to change notification settings - Fork 23k
Open
Labels
Content:WebAPIWeb API docsWeb API docs
Description
MDN URL
https://developer.mozilla.org/en-US/docs/Web/API/Element/setHTML
What specific section or headline is this issue about?
Exceptions
What information was incorrect, unhelpful, or incomplete?
non-normalized SanitizerConfig (one that includes both "allowed" and "removed" configuration settings).
This makes it sound like to me that a non-normalized config is just that specific case, but there are many other non-valid configurations, such as those with duplicate attributes/elements etc.
What did you expect to see?
Probably better to put this information onto some other page. https://wicg.github.io/sanitizer-api/#sanitizerconfig-valid is complicated and probably deserves it own section somewhere like the Sanitizer constructor.
Do you have any supporting links, references, or citations?
No response
Do you have anything more you want to share?
No response
MDN metadata
Page report details
- Folder:
en-us/web/api/element/sethtml - MDN URL: https://developer.mozilla.org/en-US/docs/Web/API/Element/setHTML
- GitHub URL: https://github.com/mdn/content/blob/main/files/en-us/web/api/element/sethtml/index.md
- Last commit: 3e543cd
- Document last modified: 2025-06-23T16:41:39.000Z
Metadata
Metadata
Assignees
Labels
Content:WebAPIWeb API docsWeb API docs