Skip to content

Commit 16285ff

Browse files
committed
docstring cleanup
1 parent a0407d0 commit 16285ff

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/source/about/changelog.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ Unreleased
2525

2626
**Added**
2727

28-
- :pull:`832` - ``del_html_body_transform`` to strip out ``<html>``, ``<body>``, and ``<head>`` tags if needed.
28+
- :pull:`832` - ``del_html_body_transform`` to remove ``<html>``, ``<head>``, and ``<body>`` while preserving ``<head>`` and ``<body>`` children.
2929

3030
**Fixed**
3131

32-
- :pull:`832` - Fix ``html_to_vdom`` improperly handling ``<html>``, ``<body>``, and ``<head>``.
32+
- :pull:`832` - Fix ``html_to_vdom`` improperly handling ``<html>``, ``<head>``, and ``<body>``.
3333

3434
**Removed**
3535
- :pull:`832` - Removed ``idom.html.body`` as it is currently unusable due to technological limitations, and thus not needed.

src/idom/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ class HTMLParseError(etree.LxmlSyntaxError): # type: ignore[misc]
213213
def del_html_body_transform(vdom: dict[str, Any]) -> dict[str, Any]:
214214
"""Transform intended for use with `html_to_vdom`.
215215
216-
Removes `<html>` and `<body>` while preserving `<head>` children.
216+
Removes `<html>`, `<head>`, and `<body>` while preserving `<head>` and `<body>` children.
217217
218218
Parameters:
219219
vdom:

0 commit comments

Comments
 (0)