Skip to content

Syntax highlighting breaks when certain characters appear in custom blocks #171

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
zbjornson opened this issue Nov 27, 2018 · 0 comments

Comments

@zbjornson
Copy link

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!

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

No branches or pull requests

1 participant