Skip to content

more than one space between attribute and value causes incorrect highlighting #32

@nickperkinslondon

Description

@nickperkinslondon

I am programming AngularJS with Jade, and I often have many attributes on a single element.

If I put each attribute on it's own line, and line-up the equal-signs ( by adding extra spaces between the attribute and the equals-sign...the syntax highlighting gets all messed up.

The problem does not depend on using multiple lines, however, it is only necessary to put 2 spaces just before the equals-sign ( or after it ), and the syntax highlighting goes wrong.

Note that the compiler does not mind these extra spaces -- it still works fine.
The highlighter should work the same as the compiler.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions