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

Function createHTML

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

Source from the content-addressed store, hash-verified

85 try {
86 return trustedTypes.createPolicy(policyName, {
87 createHTML(html) {
88 return html;
89 },
90 createScriptURL(scriptUrl) {
91 return scriptUrl;
92 },

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected