Skip to content

Commit f67f5dc

Browse files
authored
Add another breaking change for HTML type addition
1 parent 9ae85d9 commit f67f5dc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1717

1818
* `TagAttrDict` no longer silently supports `HTML` values for attrs. Only `str` values are supported. (#86)
1919

20+
* Strings added to `HTML` objects, now return `HTML` objects. E.g. `HTML_value + str_value` and `str_value_ + HTML_value` both return `HTML` objects. To maintain a `str` result, call `str()` on your `HTML` objects before adding the two `str` values. (#86)
21+
2022
### New features
2123

2224
* Exported `ReprHtml` protocol class. If an object has a `_repr_html_` method, then it is of instance `ReprHtml`. (#86)

0 commit comments

Comments
 (0)