We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16285ff commit d78afdbCopy full SHA for d78afdb
src/idom/utils.py
@@ -210,7 +210,7 @@ class HTMLParseError(etree.LxmlSyntaxError): # type: ignore[misc]
210
"""Raised when an HTML document cannot be parsed using strict parsing."""
211
212
213
-def del_html_body_transform(vdom: dict[str, Any]) -> dict[str, Any]:
+def del_html_body_transform(vdom: VdomDict) -> VdomDict:
214
"""Transform intended for use with `html_to_vdom`.
215
216
Removes `<html>`, `<head>`, and `<body>` while preserving `<head>` and `<body>` children.
0 commit comments