-
Notifications
You must be signed in to change notification settings - Fork 780
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
Breaks When Using <br/> #7
Comments
@dodekeract This seems to be an issue with Hyperx. The solution is to append a space after the tag's name. app({
view: () => html`<div>a<br />b</div>`
}) Same applies to other self-closing tags. EDIT: |
@jbucaran So should I open the upstream issue or will we fix it here? |
@dodekeract The right thing to do, for now, is to open an issue there: https://github.com/substack/hyperx/issues/new EDIT: Found this, possibly related? choojs/hyperx#34 |
@dodekeract Do you think we can close? |
@jorgebucaran has this been fixed or is it confirmed to be only related to hyperx? If the answer is yes then feel free to close. 😉 |
@dodekeract Confirmed this is a hyperx bug: choojs/hyperx#34. |
I tried to modify the
counter
example. When inserting a line-break<br/>
it broke. 🙁Console
Minimal Repro
Meta
Corresponding issue on hyperx's repo.
Related to choojs/hyperx#34.
Note that I do realize that
<br>
works.<br/>
is more explicit though and as a React-user I'd like to keep this pattern.The text was updated successfully, but these errors were encountered: