Open aaronshim opened 2 years ago
.innerHTML is considered a HTML injection sink sink in Trusted Types. Replacing .innerHTML with the functionally equivalent .textContent for style elements should avoid Trusted Types violations.
.innerHTML
.textContent
.innerHTML
is considered a HTML injection sink sink in Trusted Types. Replacing.innerHTML
with the functionally equivalent.textContent
for style elements should avoid Trusted Types violations.