Skip to content

Commit 6bd56b1

Browse files
committed
Take meta attrs from dictionary result
1 parent b5820f1 commit 6bd56b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

htmltools/_core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1512,7 +1512,7 @@ def as_html_tags(
15121512
Render the dependency as a ``TagList()``.
15131513
"""
15141514
d = self.as_dict(lib_prefix=lib_prefix, include_version=include_version)
1515-
metas = [Tag("meta", **m) for m in self.meta] # type: ignore
1515+
metas = [Tag("meta", **m) for m in d["meta"]]
15161516
links = [Tag("link", **s) for s in d["stylesheet"]]
15171517
scripts = [Tag("script", **s) for s in d["script"]]
15181518
return TagList(*metas, *links, *scripts, self.head)

0 commit comments

Comments
 (0)