()
+ );
+ to_remove.push(parent.id());
+ }
+ }
+
+ remove_ids(document, to_remove);
+}
+
fn remove_attrs(document: &mut Html) {
// TODO: See if finding and skipping detached nodes is significantly faster.
let mut to_remove = Vec::new();
diff --git a/tests/data/Q748282-en/output.html b/tests/data/Q748282-en/output.html
index 0762b05..327f1f6 100644
--- a/tests/data/Q748282-en/output.html
+++ b/tests/data/Q748282-en/output.html
@@ -92,7 +92,4 @@
Archaeologists have found the earliest anatomically modern humans in Europe in the Crimean Mountains' Buran-Kaya caves. The fossils are 32,000 years old, with the artifacts linked to the Gravettian culture. The fossils have cut marks suggesting a post-mortem defleshing ritual.
-
- Gallery
-