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

Self-closing tag brackets are not tagged as punctuation. #235

@PlaidPhantom

Description

@PlaidPhantom

Prerequisites

Description

Related to #224, HTML tag punctuation is now tagged as such, but self-closing tags are not.

image

Steps to Reproduce

  1. Open an HTML document (or start a new one and set the language as HTML)
  2. add a self-closing tag such as a <br /> or <input />

Expected behavior:

Self-closing tag punctuation should (at least) have the same CSS classes as normal open/close tags.

Actual behavior:

Self-closing tag punctuation has no classes and is treated as normal text.

Reproduces how often:

always

Versions

language-html@0.53.0

Atom : 1.44.0
Electron: 4.2.7
Chrome : 69.0.3497.128
Node : 10.11.0

apm 2.4.3
npm 6.2.0
node 10.2.1 x64
atom 1.44.0
python 2.7.16
git 2.25.0

Additional Information

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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