Closed nyanrus closed 6 months ago
Thank you for good project!
import {DOMParser} from "linkedom" console.log((new DOMParser).parseFromString(`<test hidden=""></test>`,"text/xml").toString()); console.log((new DOMParser).parseFromString(`<test hidden=""></test>`,"text/html").toString()); /* outputs <?xml version="1.0" encoding="utf-8"?><test hidden /> <test hidden></test> */
the hidden is not hidden="", hidden and it's error on xml node v20.11.0 linkedom v0.16.6
hidden=""
hidden
nope ... I see, pretty weird ... on it
I have no idea what happened to the previous commit but it was broken anyway so glad I've re-fixed this now.
Thanks!!
Thank you for good project!
the hidden is not
hidden=""
,hidden
and it's error on xml node v20.11.0 linkedom v0.16.6