Keep a template's table in one field, tableSite

This commit is contained in:
2026-09-29 03:30:19 +02:00
committed by Lillem4n
parent 05bc56fe75
commit e9cdfe9edd
9 changed files with 34 additions and 36 deletions
+3 -3
View File
@@ -114,9 +114,9 @@ func (s *readSurvey) walk(n node, at surveyAt) {
}
for _, e := range renderEdges(n) {
to, isTemplate := e.to.(*template)
cell := cellSite{}
if isTemplate {
cell = to.cell
cell := tableSite{}
if isTemplate && to.site.row != formatRow {
cell = to.site
}
switch {
case cell.table == nil: