Repository navigation
Commit 03dd48c
committed
fix(hydration): stop fragmentRemainder from walking past enclosing block close
When a trailing comment hole in fragmentRemainder has no server content,
actual lands on the enclosing range's close marker. sibling() treats
block closes as ordinary nodes and walks past them, so inPlaceEnd would
escape the @if/@for frame. Guard the advance with isBlockClose so the
remainder stays on the close marker instead of past it.1 parent b79077b commit 03dd48c
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20165 | 20165 | | |
20166 | 20166 | | |
20167 | 20167 | | |
20168 | | - | |
| 20168 | + | |
| 20169 | + | |
| 20170 | + | |
20169 | 20171 | | |
20170 | 20172 | | |
20171 | 20173 | | |
| |||
0 commit comments