You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Correctly set indexInParent in Markup.child(at:) (#45)
This fixes a recent regression where `Markup.child(at:)` began returning
markup with incorrect metadata resulting in out-of-bounds errors.
The `indexInParent` value of a child is unrelated to the parent's
`indexInParent`. This was missed initially because tests were only
checking for children of the first item where `indexInParent` would
be 0. A new test has been added that asserts `Markup.child(at:)` returns
correct values for children of nested items as well.
0 commit comments