Refactor SUI core to set attribute values in parseProps function
This commit is contained in:
parent
7706439f8f
commit
b6c5c0fd31
1 changed files with 1 additions and 0 deletions
|
|
@ -341,6 +341,7 @@ func (page *Page) parseProps(from *goquery.Selection, to *goquery.Selection, ext
|
|||
exp := stmtRe.Match([]byte(attr.Val))
|
||||
prop := PageProp{Key: attr.Key, Val: attr.Val, Trans: trans, Exp: exp}
|
||||
page.props[attr.Key] = prop
|
||||
to.SetAttr(attr.Key, attr.Val)
|
||||
}
|
||||
|
||||
if extra != nil && len(extra) > 0 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue