trait SanitizerConfigAlgorithm {
// Required methods
fn is_valid(&self) -> bool;
fn remove_element(&mut self, element: SanitizerElement) -> bool;
fn canonicalize(&mut self, allow_comments_pis_and_data_attributes: bool);
}trait SanitizerConfigAlgorithm {
// Required methods
fn is_valid(&self) -> bool;
fn remove_element(&mut self, element: SanitizerElement) -> bool;
fn canonicalize(&mut self, allow_comments_pis_and_data_attributes: bool);
}