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

Function createHTML

src/purify.ts:104–106  ·  view source on GitHub ↗
(html)

Source from the content-addressed store, hash-verified

102 try {
103 return trustedTypes.createPolicy(policyName, {
104 createHTML(html) {
105 return html;
106 },
107 createScriptURL(scriptUrl) {
108 return scriptUrl;
109 },

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected