Fix handling post blank for org documents.

This commit is contained in:
Tom Alexander 2023-12-15 19:42:43 -05:00
parent 30412361e1
commit 2046603d01
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
2 changed files with 6 additions and 4 deletions

View File

@ -0,0 +1,5 @@
* foo

View File

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