Merge pull request #686 from trheyi/main

fix misspelling
This commit is contained in:
Max 2024-07-15 20:20:54 +08:00 committed by GitHub
commit 66cebfebd1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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, ",")