Skip to content

(csharp) Raw String Literals are highlighted incorrectly #3868

@rosenzweigv

Description

@rosenzweigv

Describe the issue

C# Raw String Literals are highlighted incorrectly. It seems that they are highlighted like normal strings, as instances of " in the middle of the strings ends the string coloring prematurely.

Which language seems to have the issue?

csharp

Are you using highlight or highlightAuto?

highlight

Sample Code to Reproduce
https://jsfiddle.net/xae1v6wL/

Expected behavior
See sample code -- The "quoted text" should look the same as the rest of the string

Additional context
None

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions