VSCodeBeautify icon indicating copy to clipboard operation
VSCodeBeautify copied to clipboard

CSS attribute selector corrupted by space_around_combinator setting

Open toufali opened this issue 6 years ago • 0 comments

  • MacOS Mojave 10.14.6:
  • VS Code Version: 1.38.1:
  • beautify Version 1.5.0:

VS Code:

{
	"editor.formatOnSave": true
}

settings.json

  "beautify.config": {
    "indent_size": 2,
    "brace_style": "collapse,preserve-inline",
    "space_around_combinator": true,
  },

Action performed

Format css file with HookyQR.beautifyFile command [data-observed~="true"]

Expected results

Expected attribute selector to be unchanged [data-observed~="true"]

Actual results

Format causes invalid css selector: [data-observed ~ ="true"]

toufali avatar Sep 27 '19 04:09 toufali