PowerShell / EditorSyntax

PowerShell syntax highlighting for editors (VS Code, Atom, SublimeText, TextMate, etc.) and GitHub!
MIT License
131 stars 42 forks source link

Tag @""@ and code after it is not handled properly. #177

Closed walkercz closed 5 years ago

walkercz commented 5 years ago

Environment

Issue Description

Tag @""@ and code after it is not handled properly.

Screenshots

Multi-Desk64-2019-05-29-08-46-45

Expected Behavior

After tag @""@ there should be normal code but editor highlights rest of the code as there is unclosed "

Code Samples

`$body = @"

        <body>
            <b>This is bold</b>
        </body>
        "@

    Send-MailMessage -From 'spoint@contoso.com' -To "$emailTo" -Subject 'Test mail' -SmtpServer "mail.contoso.com" -BodyAsHtml $body`
walkercz commented 5 years ago

my bad