forked from continuwuation/ruwuma
1.2 KiB
1.2 KiB
[unreleased]
Breaking Changes:
MatrixElement::Divis now a newtype variant.AnchorData'snamefield was removed, according to MSC4159 / Matrix 1.12.- html5ever was bumped to a new major version. A breaking change in the parsing
API required us to rewrite the
Htmltype.Html::sanitize()andHtml::sanitize_with()take a non-mutable reference.NodeRefandChildrenare now owned types and no longer implementCopy.NodeData::Text's inner string and theattrsfield ofElementDataare now wrapped inRefCells.
Improvements:
- Add support for mathematical messages, according to MSC2191 / Matrix 1.11
0.2.0
Breaking Changes:
- Do not export
Nodein the public API, it is not usable on its own and it is not in the output of any public method. Html::sanitize_withnow takes a reference toSanitizerConfig.
Improvements:
- Add support for deprecated HTML tags, according to Matrix 1.10
- Allow to navigate through the HTML tree with
Html::first_child(),Html::last_child()orHtml::children() - Add
ElementData::to_matrixto convert it to a type using enums for HTML elements and attributes suggested by the Matrix Specification, behind thematrixcargo feature.
0.1.0
Initial release