Skip to content

Using command + / on an HTML comment results in it being surrounded by a Handlebars comment #11

Description

@lazd

Steps:

  1. Create a template, template.hbs
  2. Open it in Sublime
  3. Add a comment with HTML in it:
<!-- <a href="http://moo.cow.com/">Link</a> -->
  1. Select the comment (from < to >) and press command + /

Result:

Selection is wrapped in Handlebars comment:

{{! <!-- <a href="http://moo.cow.com/">Link</a> --> }}

Expected:

Selection is uncommented:

<a href="http://moo.cow.com/">Link</a>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions