File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -25,11 +25,11 @@ Unreleased
25
25
26
26
**Added **
27
27
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 .
29
29
30
30
**Fixed **
31
31
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 > ``.
33
33
34
34
**Removed **
35
35
- :pull: `832 ` - Removed ``idom.html.body `` as it is currently unusable due to technological limitations, and thus not needed.
Original file line number Diff line number Diff line change @@ -213,7 +213,7 @@ class HTMLParseError(etree.LxmlSyntaxError): # type: ignore[misc]
213
213
def del_html_body_transform (vdom : dict [str , Any ]) -> dict [str , Any ]:
214
214
"""Transform intended for use with `html_to_vdom`.
215
215
216
- Removes `<html>` and `<body>` while preserving `<head>` children.
216
+ Removes `<html>`, `<head>`, and `<body>` while preserving `<head>` and `<body >` children.
217
217
218
218
Parameters:
219
219
vdom:
You can’t perform that action at this time.
0 commit comments