MCPcopy
hub / github.com/cure53/DOMPurify / createHTML

Function createHTML

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

Source from the content-addressed store, hash-verified

5911 (assert) => {
5912 const circular = {
5913 createHTML(s) {
5914 return DOMPurify.sanitize(s);
5915 },
5916 createScriptURL: (s) => s,
5917 };
5918 assert.throws(() =>

Callers

nothing calls this directly

Calls 1

sanitizeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…