Scope the layout quote outside selectors and prove parent-keyed names in their own function

This commit is contained in:
2026-09-18 18:26:41 +02:00
parent 2dcc31fa63
commit 7d50f43d0b
2 changed files with 21 additions and 11 deletions
+1 -1
View File
@@ -98,7 +98,7 @@ func splitArgs(s string) []string {
depth, quoted, start := 0, false, 0
for i := 0; i < len(s); i++ {
switch c := s[i]; {
case c == '\'':
case c == '\'' && depth == 0:
quoted = !quoted
case quoted:
case c == '[':