WebCompiler icon indicating copy to clipboard operation
WebCompiler copied to clipboard

Tab support in CSS values for minifier

Open SergeVDev opened this issue 1 year ago • 3 comments

Installed product versions

  • Visual Studio: Microsoft Visual Studio Enterprise 2022 (64-bit)
  • This extension: 1.14.11

The following LESS code (tab-separated):

grid-template-areas:
	'one		two		three'
	'four		five		six'
	'seven		eight		nine';

is replaced with

grid-template-areas: 'one two three' 'four five six' 'seven eight nine';

in regular .css (which is OK), but replaced with

grid-template-areas:'onetwothree' 'fourfivesix' 'seveneightnine';

in .min.css (which is wrong).

All browsers (FF, Chrome) are fine with tab-separated values.

SergeVDev avatar Jan 03 '25 21:01 SergeVDev

This should be fixed in the next release (1.14.12), I'm hoping to get it tested and released early next week.

failwyn avatar Jan 09 '25 18:01 failwyn

Thank you!

SergeVDev avatar Jan 09 '25 20:01 SergeVDev

@SergeVDev Sorry for the long delay, 1.14.13 is available now.

failwyn avatar Mar 22 '25 00:03 failwyn