Add Element::into_document

It's more convenient in some cases and also makes the example code less
"misleading": Now the string represents a full, correct HTML document.
This commit is contained in:
Joscha 2024-12-02 21:48:46 +01:00
parent b377ee2936
commit 6f0ae129fa
4 changed files with 20 additions and 10 deletions

View file

@ -19,6 +19,7 @@ A dependency update to an incompatible version is considered a breaking change.
### Added
- `Element::into_document`
- Eponymous JS helper function in readme
## v0.1.0 - 2024-12-02