Skip to content

Commit e5aba03

Browse files
committed
del_html_body_transform docstrings
1 parent ce2c972 commit e5aba03

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/idom/utils.py

+4
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,10 @@ def del_html_body_transform(vdom: dict[str, Any]) -> dict[str, Any]:
214214
"""Transform intended for use with `html_to_vdom`.
215215
216216
Removes `<html>` and `<body>` while preserving `<head>` children.
217+
218+
Parameters:
219+
vdom:
220+
The VDOM dictionary to transform.
217221
"""
218222
if vdom["tagName"] == "html":
219223
vdom["tagName"] = ""

0 commit comments

Comments
 (0)