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

Pug - Broken syntax coloring using character "ª" inside an interpolated tag #90

Description

@alexdima

Moved from microsoft/vscode#22969
From @patoezequiel


  • VSCode Version: 1.9.0
  • OS Version: Windows 7 ultimate SP1
  • Extensions installed:
    • Autoprefixer 2.0.0
    • Pug to HTML 0.0.3
    • SCSS Intellisense 0.6.0

I found a bug in the pug syntax coloring, where if you type a " ª " character inside an interpolated string, it makes the text after said character to be colored like a keyword.

Steps to Reproduce:

  1. In a .pug file, introduce the " ª " character inside the text node of an interpolated tag, for instance:

p The coloring breaks after the #[strong ª] character.

  1. The syntax coloring after the " ª " character breaks, coloring almost anything like a keyword.

image

It happens independently of the color theme applied to the editor, and the bug appears to be only when that specific character is used, you can see that the " º " character in the picture doesn't cause problems in the same circumstances.

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