Hold a reference path like a sibling path; add the lowercase, uppercase and ascii transforms

This commit is contained in:
2026-09-02 12:52:19 +02:00
parent 8fa33694b9
commit 31c2f12098
8 changed files with 372 additions and 174 deletions
+2 -2
View File
@@ -143,8 +143,8 @@ func expand(s *session, t *template) string {
var operands []string
if len(o.operands) > 0 {
operands = make([]string, len(o.operands))
for j, name := range o.operands {
operands[j] = readField(s, t, held, arm{name: name, key: name})
for j, a := range o.operands {
operands[j] = readField(s, t, held, a)
}
}
b.WriteString(o.call(s, b.String(), operands)) // b.String() is the output so far