Thanks to visit codestin.com
Credit goes to github.com

Skip to content

C#: Rendering $ in Rawstring #2897

@FlorianInova

Description

@FlorianInova

When rendering the following c# code using pygments

public string A = """
$
""";

Actual: The $ is parsed as an Error token.
Expected: The $ is parsed as a Literal.String token.

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