UniqHtmlElement: don't wrap the root element
authorAndrea Cornell <anders@acorn.pw>
Thu, 28 Sep 2023 18:05:50 +0000 (14:05 -0400)
committerAndrea Cornell <anders@acorn.pw>
Thu, 28 Sep 2023 18:05:50 +0000 (14:05 -0400)
commit3e6bad885e057e26f95b64987a203e37818ef912
treef08a57402565d491b31cc0ebceae452664040d9d
parentcf8a86bd3c597eaffa1f00899212f9a67db0ae57
UniqHtmlElement: don't wrap the root element

* When parsing a fragment, html5ever will (apparently) generate an <html>
root element if the fragment doesn't already look like that. So, it's
unhelpful to wrap the html5ever output with our own root faux-element.
UniqHtmlElement is changed to not do this.

* Dependency specs relaxed in Cargo.toml to allow building with current
Debian stable packaged crates.

* I committed Cargo.lock at some point. Remove that.
Cargo.lock [deleted file]
sharedmodel/Cargo.toml
sharedmodel/src/html_html5ever.rs