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

Function createHTML

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

Source from the content-addressed store, hash-verified

8660 (assert) => {
8661 const circular = {
8662 createHTML(s) {
8663 return DOMPurify.sanitize(s);
8664 },
8665 createScriptURL: (s) => s,
8666 };
8667 assert.throws(() =>

Callers

nothing calls this directly

Calls 1

sanitizeMethod · 0.80

Tested by

no test coverage detected