ScramjetClient.SCRAMJET -> SCRAMJETCLIENT

This commit is contained in:
velzie 2024-08-30 16:59:52 -04:00
parent 2050fa140c
commit 5f77342d8d
No known key found for this signature in database
GPG key ID: 048413F95F0DDE1F
11 changed files with 82 additions and 50 deletions

View file

@ -150,6 +150,12 @@ export const htmlRules: {
fn: (value: string, origin?: URL) => rewriteCss(value, origin),
style: "*",
},
{
fn: (value: string) => {
if (["_parent", "_top", "_unfencedTop"].includes(value)) return "_self";
},
target: ["a"],
},
];
// i need to add the attributes in during rewriting