Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Brackets should not be highlighted when cursor is in content between tags with Handlebars  #344

@svipas

Description

@svipas

Edited by @rsese

  1. Save a file named test.hbs with this content:
<!DOCTYPE html>
<html lang="en" dir="ltr">
  <head>
    <meta charset="utf-8">
    <title></title>
  </head>
  <body>
    {{table/occlusion-table
      items=items
      columns=columns
      tabName="Departments"
    }}
  </body>
</html>
  1. Place your cursor anywhere on the items=items line.

Expected behavior

Expect {{ and }} to be highlighted - there should be nothing highlighted if your cursor is on the content between brackets.

Actual behavior

<body> and </body> are highlighted.


Bracket matcher:
As you can see my cursor is on {{table}}, but it shows bracket matcher and underline on h4 tag which is wrong... By the way, this is handlebars file.

image

Atom: 1.23.3
OS: macOS

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions