css.tmbundle icon indicating copy to clipboard operation
css.tmbundle copied to clipboard

[Bug] Selectors like [class*="wp-block"] are displayed incorrectly in symbols list

Open elosha opened this issue 2 years ago • 0 comments

Selectors starting with square brackets like [class*="wp-block"] { … } are common in Gutenberg-enabled Wordpress theme CSS files. (They match any CSS classes starting with "wp-block…" without having to know class names added later.)

However they have a confusing display in the symbols list: Bildschirmfoto 2022-07-08 um 12 17 51 Kopie Note: Classical selector (green) works flawlessly and its idention is consistent with code. Square brackets selector (red) kinda works, but first bracket and indention are stripped, which is confusing when one needs to rely on indention structure.

elosha avatar Jul 08 '22 10:07 elosha