Test a table cell through tableSite.isCell, and trace no row outside a table

This commit is contained in:
2026-09-29 12:13:33 +02:00
committed by Lillem4n
parent 4fcf45b5d0
commit 8793681d8a
6 changed files with 16 additions and 15 deletions
+4
View File
@@ -71,6 +71,10 @@ type tableSite struct {
const formatRow = -1
func (s tableSite) isCell() bool {
return s.table != nil && s.row != formatRow
}
// templateLink is what a template resolves to in the assembled tree.
type templateLink struct {
refs map[string]refBinding // each reference the format reads -> what it resolves to