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

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 {