MCPcopy Create free account
hub / github.com/cure53/DOMPurify / createHTML

Function createHTML

test/test-suite.js:6279–6281  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

6277 (assert) => {
6278 const circular = {
6279 createHTML(s) {
6280 return DOMPurify.sanitize(s);
6281 },
6282 createScriptURL: (s) => s,
6283 };
6284 assert.throws(() =>

Callers

nothing calls this directly

Calls 1

sanitizeMethod · 0.80

Tested by

no test coverage detected