Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Multi-line string literals break CSS syntax highlighting #181

Open
1 task
alexr00 opened this issue Jun 9, 2021 · 0 comments
Open
1 task

Multi-line string literals break CSS syntax highlighting #181

alexr00 opened this issue Jun 9, 2021 · 0 comments

Comments

@alexr00
Copy link

alexr00 commented Jun 9, 2021

Prerequisites

Description

Multi-line string literals break CSS syntax highlighting.

Steps to Reproduce

  1. Create a CSS file with this content
a::after {
	content: "long\
		value";
}

Expected behavior:

A multi-line string literal does not affect other rules.

Actual behavior:

There is no syntax highlighting after the backslash (any subsequent CSS is the same colour as the backslash itself).

Reproduces how often:

100%

Versions

From commit 339e960

Additional Information

Originally from @dansebcar in microsoft/vscode#125739

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant