vuejs / vue-syntax-highlight

💡 Sublime Text syntax highlighting for single-file Vue components

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Syntax highlighting breaks when certain characters appear in custom blocks

zbjornson opened this issue · comments

Example here: https://github.com/zbjornson/vue-syntax-highlight/blob/master/samples/docblock.vue

image

  • with is highlighted red in GitHub
  • Everything after the ' has a red background in GitHub
  • the } after string is pink in Sublime (build >3153)

I saw #87, but if I set Sublime (>3153) to use HTML formatting, the issue doesn't occur, so I don't think that's the same issue.

I've tried using the "master" branch in Sublime and can't seem to repro the red background.

Thanks!