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

Function createHTML

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

Source from the content-addressed store, hash-verified

144 try {
145 return trustedTypes.createPolicy(policyName, {
146 createHTML(html) {
147 return html;
148 },
149 createScriptURL(scriptUrl) {
150 return scriptUrl;
151 },

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected