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

Function createHTML

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

Source from the content-addressed store, hash-verified

6415 (assert) => {
6416 const circular = {
6417 createHTML(s) {
6418 return DOMPurify.sanitize(s);
6419 },
6420 createScriptURL: (s) => s,
6421 };
6422 assert.throws(() =>

Callers

nothing calls this directly

Calls 1

sanitizeMethod · 0.80

Tested by

no test coverage detected