PSR-7 Interoperability
The PSR-7 StreamInterface has been implemented on the Document/HTMLDocument classes to improve interoperability when used within other frameworks. There is no new functionality due to this, so only a minor version increment is necessary.
Along with the interface implementation, a couple of bugfixes are released here too:
- Rewind HTMLCollection iterators before use, to avoid throwing a RunetimeException when used outside of a foreach.
- Don't format the HTML output at document render. There will be some efficiency gains here on large document trees.