fix up html rules

This commit is contained in:
Percs 2024-10-27 03:36:13 -05:00
parent 2b9afa1068
commit 559e5463ba
2 changed files with 5 additions and 0 deletions

View file

@ -147,7 +147,10 @@ export const htmlRules: {
// csp stuff that must be deleted
nonce: "*",
crossorigin: "*",
"http-equiv": ["meta"],
integrity: ["script", "link"],
sandbox: ["iframe"],
csp: ["iframe"],
},
{
@ -155,6 +158,7 @@ export const htmlRules: {
// srcset
srcset: ["img", "source"],
srcSet: ["img", "source"],
imagesrcset: ["link"],
},
{