MMM: Fixed nesting counting in increase_nesting
This commit is contained in:
parent
ce8cb5aad0
commit
6b96f60b43
|
@ -1622,7 +1622,10 @@ impl Context {
|
|||
}
|
||||
|
||||
input.extra.depth += 1;
|
||||
func.parse(input)
|
||||
func.parse(input).map(|mut v| {
|
||||
v.0.extra.depth -= 1;
|
||||
v
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue