max-mapper / yo-yo

A tiny library for building modular UI components using DOM diffing and ES6 tagged template literals
1.33k stars 65 forks source link

type attribute doubling on <input> #33

Closed seangenabe closed 8 years ago

seangenabe commented 8 years ago

Running

(yo`<input type="checkbox">`).toString()

yields

'<input type="text" type="checkbox" />'

Using yo-yo v1.2.2.

shama commented 8 years ago

@seangenabe Is that when ran on the server side?

seangenabe commented 8 years ago

Yes.

ghost commented 8 years ago

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 @ https://github.com/Raynos/min-document/pull/41 Maybe this is related?

yoshuawuyts commented 8 years ago

seems like rm -rf node_modules && npm install should resolve this; semver should bump min-document in the tree

shama commented 8 years ago

Closing as this is now fixed.