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

Comments are removed from inline event listeners #96

Closed
wyozi opened this issue May 16, 2020 · 0 comments · Fixed by #133
Closed

Comments are removed from inline event listeners #96

wyozi opened this issue May 16, 2020 · 0 comments · Fixed by #133

Comments

@wyozi
Copy link

wyozi commented May 16, 2020

For instance

<svelte:body on:keydown={(e) => {
	// hello world
}} />
// -- PRETTIER ->
<svelte:body on:keydown={(e) => {}} />

On latest Svelte Beta in VS Code

dummdidumm pushed a commit that referenced this issue Sep 3, 2020
Fixes #96: preserve comments in event handlers.
Closes #106
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant