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
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 { fn get_post_blank(&self) -> PostBlank {
self.into_iter() 0
.last()
.map(|child| child.get_post_blank())
.unwrap_or(0)
} }
} }