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

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

Open
alexdima opened this issue Mar 24, 2017 · 0 comments

Comments

@alexdima
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant