We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5820f1 commit 6bd56b1Copy full SHA for 6bd56b1
htmltools/_core.py
@@ -1512,7 +1512,7 @@ def as_html_tags(
1512
Render the dependency as a ``TagList()``.
1513
"""
1514
d = self.as_dict(lib_prefix=lib_prefix, include_version=include_version)
1515
- metas = [Tag("meta", **m) for m in self.meta] # type: ignore
+ metas = [Tag("meta", **m) for m in d["meta"]]
1516
links = [Tag("link", **s) for s in d["stylesheet"]]
1517
scripts = [Tag("script", **s) for s in d["script"]]
1518
return TagList(*metas, *links, *scripts, self.head)
0 commit comments