We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Moving this from #3341. In a case like this...
<script> const answer = 42; </script> <div> <span class="a/{answer}"/> </div>
...Svelte should recognise that answer cannot change, and so it's ok to use innerHTML:
answer
-span = element("span"); -attr(span, "class", span_class_value = "a/" + answer); +div.innerHTML = `<span class="a/${answer}"></span>`; // ... -append(div0, span);
The text was updated successfully, but these errors were encountered:
failing test for #3343
97d835b
I believe this was fixed back with #3808 and some follow-up PRs.
Sorry, something went wrong.
No branches or pull requests
Moving this from #3341. In a case like this...
...Svelte should recognise that
answer
cannot change, and so it's ok to use innerHTML:The text was updated successfully, but these errors were encountered: