mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-14 15:00:01 -04:00
fix up html rules
This commit is contained in:
parent
2b9afa1068
commit
559e5463ba
2 changed files with 5 additions and 0 deletions
|
@ -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"],
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue