fix element render issue (#1011)

This commit is contained in:
Sheldon 2023-05-13 04:47:42 +08:00 committed by GitHub
parent 92b1e241ac
commit c1235d4fd1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,6 +30,7 @@ class Element(Component):
).set(
contents=str(tag.contents),
children=[child.render() for child in self.children],
props=tag.format_props(),
)
)