diff --git a/validation/src/validator.rs b/validation/src/validator.rs index 2013ab0..b88bb3f 100644 --- a/validation/src/validator.rs +++ b/validation/src/validator.rs @@ -131,7 +131,7 @@ impl Validator{ Some(Policy::Delete)=>{ modified=true; // delete script - unimplemented!(); + dom.destroy(script_ref); }, Some(Policy::Replace(replacement))=>{ modified=true;