fixup! parse: merge enter / exit block events match branch
This commit is contained in:
parent
fee50d36fb
commit
8b8ccd65bb
1 changed files with 3 additions and 1 deletions
|
@ -523,7 +523,9 @@ impl<'s> Parser<'s> {
|
|||
block::Node::Leaf(l) => {
|
||||
if matches!(l, block::Leaf::LinkDefinition) {
|
||||
// ignore link definitions
|
||||
if enter {
|
||||
self.tree.take_inlines().last();
|
||||
}
|
||||
continue;
|
||||
}
|
||||
if enter {
|
||||
|
|
Loading…
Reference in a new issue