Commit d2883daf authored by Emmanuel Raviart's avatar Emmanuel Raviart

Correct flattening of documents.

parent e2a47afa
Pipeline #101680 passed with stage
in 2 minutes and 8 seconds
......@@ -637,7 +637,6 @@ impl Document {
let mut documents: Vec<&Document> = vec![&self];
if let Some(ref divisions) = self.divisions() {
for division in &divisions.divisions {
documents.push(division);
documents.extend(division.flatten_document());
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment