You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The native browser template inner html is something we can't control with our compiler. However the Riot attribute expressions support also single and double quotes to circumvent this issue.
Other users experienced similar issues so it could be worth to mention it in our documentation. Would you mind opening a PR adding this information? Thanks
you can easily see that the missing quotes around the onclick value mess up the dom parsing in the browser => <button onclick="{" helloagain="" }="">Click Me!</button> so it's not really an issue with a compiler, just write consistent HTMl and use quotes 😉
I found an issue during in-browser compilation where a space after the opening bracket of
onclick={
breaks the compiler.This doesn't compile:
In the browser console, if I do this:
code
contains this:This compiles:
And this compiles:
The text was updated successfully, but these errors were encountered: