Skip to content

Highlighting breaks when using single quotes around inline JS #220

@trych

Description

@trych

Hi there,

I was just using the Vue syntax highlighting in Sublime Text 4 and I noticed a highlighting bug:

When there is inline JS within markup that is surrounded by single quotes, the highlighting breaks at double quotes within this inline code.

The way it breaks and the scopes it returns seems to depend on the fact if it is a single line or multi-line statement.
Here's what it looks for a multi-line statement:

20230323-222836_Screenshot_SublimeText

And here is what happens with a single line statement (first pair of double quotes seems to be fine there, but it seems to think the inline code ends after the first double quote pair:

20230323-223756_Screenshot_SublimeText

Would be great, if someone could look into this. Thanks!

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

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy