fixup! parse block elements
This commit is contained in:
parent
89390cf5f6
commit
60927e7298
1 changed files with 1 additions and 3 deletions
|
@ -109,9 +109,7 @@ impl<'s> Parser<'s> {
|
|||
let blanklines = lines
|
||||
.iter()
|
||||
.take_while(|sp| sp.of(self.src).trim().is_empty())
|
||||
.map(|sp| {
|
||||
self.tree.elem(Atom::Blankline, *sp);
|
||||
})
|
||||
.map(|sp| self.tree.elem(Atom::Blankline, *sp))
|
||||
.count();
|
||||
let lines = &mut lines[blanklines..];
|
||||
|
||||
|
|
Loading…
Reference in a new issue