Add a post blank implementation to document.

This commit is contained in:
Tom Alexander 2023-10-31 23:56:40 -04:00
parent 425bc12353
commit f0868ba3ed
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

View File

@ -66,7 +66,10 @@ impl<'s> StandardProperties<'s> for Document<'s> {
}
fn get_post_blank(&self) -> PostBlank {
todo!()
self.into_iter()
.last()
.map(|child| child.get_post_blank())
.unwrap_or(0)
}
}