MMM: Fixed nesting counting in increase_nesting

This commit is contained in:
Natty 2023-12-31 17:18:27 +01:00
parent ce8cb5aad0
commit 6b96f60b43
Signed by: natty
GPG Key ID: BF6CB659ADEE60EC
1 changed files with 4 additions and 1 deletions

View File

@ -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
})
}
}