commit
66cebfebd1
1 changed files with 1 additions and 1 deletions
|
|
@ -310,7 +310,7 @@ func (parser *TemplateParser) transElementNode(sel *goquery.Selection) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Transalte the attributes
|
// Translate the attributes
|
||||||
for _, attr := range sel.Nodes[0].Attr {
|
for _, attr := range sel.Nodes[0].Attr {
|
||||||
if strings.HasPrefix(attr.Key, "s:trans-attr-") {
|
if strings.HasPrefix(attr.Key, "s:trans-attr-") {
|
||||||
keys := strings.Split(attr.Val, ",")
|
keys := strings.Split(attr.Val, ",")
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue