diff --git a/sui/core/build.go b/sui/core/build.go index 4e8b392c..da0f9f78 100644 --- a/sui/core/build.go +++ b/sui/core/build.go @@ -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 {