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

Multi-line string literals break CSS syntax highlighting #181

@alexr00

Description

@alexr00

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions