prettier-plugin-svelte icon indicating copy to clipboard operation
prettier-plugin-svelte copied to clipboard

Breaks quotes inside of quotes

Open KTibow opened this issue 3 years ago • 5 comments

If you have something like <Component prop='Something in "quotes".' /> this plugin turns it into "Something in "quotes"." which is invalid Svelte.

KTibow avatar Nov 12 '22 18:11 KTibow

This might be relevant: https://github.com/sveltejs/prettier-plugin-svelte/blob/ebd7e9a0dd7d5096098e16d74e6d88b9e249916f/src/print/index.ts#L433

KTibow avatar Nov 12 '22 18:11 KTibow

Related to #253

dummdidumm avatar Nov 18 '22 16:11 dummdidumm

Yeah I saw that but didn't fully read it, I wouldn't mind if you merged this issue into that one, but I'm fine using this one for tracking separately

KTibow avatar Nov 19 '22 14:11 KTibow

I’m also affected by this, but have been procrastinating about the bug report… Thanks, OP!

lianghai avatar Nov 24 '22 00:11 lianghai

Any progress on this?

lianghai avatar Aug 10 '23 16:08 lianghai