hyperscript icon indicating copy to clipboard operation
hyperscript copied to clipboard

img tag shouldn't close

Open raine opened this issue 10 years ago • 3 comments

h('img').outerHTML produces <img></img> while it probably should produce <img>.

What do you think?

raine avatar Jun 05 '15 17:06 raine

Looks like this was just fixed in https://github.com/1N50MN14/html-element/commit/450252586486a1a0f0217e64faaf7f382daee13f

raine avatar Jun 05 '15 18:06 raine

It's now in html-element 1.4.0.

I would bump its version in package.json but many tests are broken as it is.

raine avatar Jun 05 '15 20:06 raine

run tests in hihat?

Most, if not all, tests that are broken, are related to the faux browser env (or element env).

henriklundgren avatar Sep 28 '15 09:09 henriklundgren