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
fix(render): clamp child span bounds to parent in buildSpanTree
When a child entity's span extends past its parent (e.g. the last
quantity in a credit card number where `dot` consumes a trailing
period), the node's rendering bounds are now clamped to the parent's
end. The entity data itself is unchanged — callbacks still see the
original start/end — only the tree position is tightened so text is
not duplicated or lost.
Fixes: last number group in CC/SSN missing from annotated output.
0 commit comments