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

Function createHTML

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

Source from the content-addressed store, hash-verified

154 try {
155 return trustedTypes.createPolicy(policyName, {
156 createHTML(html) {
157 return html;
158 },
159 createScriptURL(scriptUrl) {
160 return scriptUrl;
161 },

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected