include unsafe-eval origin for isolated documents

This commit is contained in:
Sunshine 2021-12-05 20:09:09 -10:00
parent 9e057472c6
commit 1b353d0b46
No known key found for this signature in database
GPG Key ID: B80CA68703CD8AB1
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ pub fn compose_csp(options: &Options) -> String {
let mut string_list = vec![];
if options.isolate {
string_list.push("default-src 'unsafe-inline' data:;");
string_list.push("default-src 'unsafe-eval' 'unsafe-inline' data:;");
}
if options.no_css {