Skip to content
This repository was archived by the owner on Apr 22, 2020. It is now read-only.
This repository was archived by the owner on Apr 22, 2020. It is now read-only.

PowerShell: backslash is not an escape character in a double quoted string #458

Open
@HumanEquivalentUnit

Description

@HumanEquivalentUnit

Backslash is not an escape character in a PowerShell string, but Prettify thinks it is.

A string like "D:\SplittedFunction\" is fine, but Prettify cannot tell that it has ended. This breaks highlighting for all the following code, which is coloured as if it was a string literal. e.g. http://stackoverflow.com/a/40267174/478656 shows the problem.

(The escape character is a backtick; see also: about_Quoting_Rules and about_Escape_Characters).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions