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

highlighting breaks on ternary operator in template #35

Open
@anhallbe

Description

@anhallbe

Syntax highlighting seem to break whenever there is a ternary operator in an attribute:

<my-component [someInput]="something ? 'foo' : 'bar'"> // Highlighting breaks after this line

It does seem to be specific to attribute bindings, i.e this should still work:

<my-component>{{something ? 'foo' : 'bar'}}</my-component>

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