From d5584ca9c40f667175f9cdf19a88c5daec31d64c Mon Sep 17 00:00:00 2001 From: Max Date: Mon, 15 Jul 2024 20:20:23 +0800 Subject: [PATCH] fix misspelling --- sui/core/parser.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sui/core/parser.go b/sui/core/parser.go index b4c28d87..ab208db9 100644 --- a/sui/core/parser.go +++ b/sui/core/parser.go @@ -310,7 +310,7 @@ func (parser *TemplateParser) transElementNode(sel *goquery.Selection) { } } - // Transalte the attributes + // Translate the attributes for _, attr := range sel.Nodes[0].Attr { if strings.HasPrefix(attr.Key, "s:trans-attr-") { keys := strings.Split(attr.Val, ",")