type attribute doubling on <input>
seangenabe opened this issue · comments
Running
(yo`<input type="checkbox">`).toString()
yields
'<input type="text" type="checkbox" />'
Using yo-yo v1.2.2.
@seangenabe Is that when ran on the server side?
Yes.
I am using choo and I had same issue. I had to update min-document module to latest version (2.19.0). Check out comments @ Raynos/min-document#41
Maybe this is related?
seems like rm -rf node_modules && npm install
should resolve this; semver should bump min-document
in the tree
Closing as this is now fixed.