Composing Sanitizer configurations

The HTML Sanitizer API allows multiple ways to customize the default allow list and this blog post aims to describe a few variations and tricks we came up with while writing the specification. Safe and unsafe Configurations Examples in this post will use configuration dictionaries. These dictionaries might be used …