Split the expansion's hold from the group's, and read a table's row from where the table is entered

This commit is contained in:
2026-09-28 23:09:13 +02:00
committed by Lillem4n
parent 88f762077f
commit 194f194f81
7 changed files with 63 additions and 47 deletions
+1 -1
View File
@@ -134,7 +134,7 @@ func renderRoot(s *session, t *template) {
var set holdSet
sc := renderScope{set: &set}
sc.hold().pins.pin(t.table, r)
render(s, t.table.pinnedRow, sc)
render(s, t.table.pinnedRow, sc.at(t.table.pinnedRow, &sc.hold().pins))
}
case t.repeat > 1:
expand(s, t, sc)