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
The following input of markup returns the wrong output for script blocks
<script> const example = ` <script> </script> `; </script>
The text was updated successfully, but these errors were encountered:
I was browsing the Svelte issues and actually, this is not a bug: sveltejs/svelte#5810
If a developer wants to put </script> in a string literal or comment, it has to be escaped.
</script>
Sorry, something went wrong.
The following code should be correct for svelte, but this parser failed there:
<Panel title="Basic tabs" shadow={true}> <Tabs bind:items={items}/> <br><br> <strong>Active tab:</strong> {activeTab1[0].title} <br> <br> <Code> {@html highlight( '<script> \n' + ' const items = [ \n' + ' { title: "Tab 1", active: true }, \n' + ' { title: "Tab 2", active: false }, \n' + ' { title: "Tab 3", active: false }, \n' + ' { title: "Tab 4", active: false }, \n' + ' ]; \n' + '</script> \n\n' + '<Tabs bind:items={items} />')} </Code> </Panel>
Add test for issue #58
46323c4
The test was added in test\unit\helpers\helpers.spec.js
test\unit\helpers\helpers.spec.js
No branches or pull requests
The following input of markup returns the wrong output for script blocks
The text was updated successfully, but these errors were encountered: