We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent acaf2ec commit 4c5d945Copy full SHA for 4c5d945
2 files changed
CHANGES.md
@@ -5,6 +5,8 @@
5
6
- Fix `.text()` and `iter()` for HTML fragments when there are multiple nodes at the root level. Resolves #209.
7
- Update lexbor. Resolves #212.
8
+- Breaking changes: Empty tags are now serialized to `<div value="">` instead of `<div value>`
9
+ ([Commit 4530fed](https://github.com/lexbor/lexbor/commit/4530fed3f3a2b1c3729f7742be4f56131cb8e086)).
10
11
# Version 0.4.6
12
tests/test_parser.py
@@ -308,7 +308,7 @@ def test_decompose_root_node():
308
def test_empty_attribute_lexbor():
309
div = create_tag("div")
310
div.attrs["hidden"] = None
311
- assert div.html == "<div hidden></div>"
+ assert div.html == '<div hidden=""></div>'
312
313
314
def test_pseudo_class_contains():
0 commit comments