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

Function createHTML

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

Source from the content-addressed store, hash-verified

7728 (assert) => {
7729 const circular = {
7730 createHTML(s) {
7731 return DOMPurify.sanitize(s);
7732 },
7733 createScriptURL: (s) => s,
7734 };
7735 assert.throws(() =>

Callers

nothing calls this directly

Calls 1

sanitizeMethod · 0.80

Tested by

no test coverage detected