Skip to content
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

svelteAllowShorthand: false not working on bindings #321

Closed
Indeedornot opened this issue Nov 16, 2022 · 0 comments · Fixed by #325
Closed

svelteAllowShorthand: false not working on bindings #321

Indeedornot opened this issue Nov 16, 2022 · 0 comments · Fixed by #325
Labels
bug Something isn't working

Comments

@Indeedornot
Copy link

Sample code

<h1 bind:innerHTML={innerHTML} contenteditable="true" />
<h1 innerHTML={innerHTML}/>

Expected output with svelteAllowShorthand: false

<h1 bind:innerHTML={innerHTML} contenteditable="true" />
<h1 innerHTML={innerHTML}/>

Real output:

<h1 bind:innerHTML contenteditable="true" />
<h1 innerHTML={innerHTML}/>

Reproduction made using starting svelte-kit project

look at src/routes/+page.svelte and run npm run format

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants