-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
seems to ignore html attibutes without assigment #28
Comments
Likely related: choojs/hyperx#14 |
Yeah, looks totally related. Thanks for the heads up. I'll follow that issue :) |
appears to be fixed on master. thanks! console.log(html`<p><input disabled><br></p>`.outerHTML)
// <p><input disabled="disabled"><br></p> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
<input disabled><br>
returns
<input><br></input>
but
<input disabled="true"><br>
returns
<input disabled=disabled><br>
Is this intentional? Un-assigned attributes like the first example are valid in HTML5 (I believe actually valid in everything except XHTML)
(ie the following is valid according to https://validator.w3.org
)
The text was updated successfully, but these errors were encountered: