fixup! parse: merge enter / exit block events match branch

This commit is contained in:
Noah Hellman 2023-01-28 11:05:16 +01:00
parent fee50d36fb
commit 8b8ccd65bb

View file

@ -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 {