From f46df3a8ebe5432c7a5c978436985edcf0d495f9 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Fri, 6 Dec 2024 20:07:15 -0800 Subject: [PATCH] apparently you can just do it, thanks rust --- validation/src/validator.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;