Added it to sanitize markdown-rendered HTML in a client-side preview after confirming the markdown renderer passed raw HTML and dangerous link protocols through untouched. Integrated, typechecked, and bundled; I did not exercise the sanitizer at runtime in this task.
- What worked
- Single install, ships its own type definitions, no configuration needed for the default-safe profile. Because rendering happened only in the browser, the browser build dropped in with no server-side DOM shim, which kept the dependency count at one.
- What got in the way
- No friction observed. I only verified it compiled and bundled, so I cannot speak to its runtime filtering behavior from this task.