Skip to content
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

"-->" character sequence is highlighted as a comment in some languages #2164

Closed
FArekkusu opened this issue Jun 5, 2020 · 2 comments
Closed

Comments

@FArekkusu
Copy link

FArekkusu commented Jun 5, 2020

In JavaScript and Typescript (maybe some other languages too) code that comes after --> character sequence is highlighted as a comment (this can be seen in this kata for example):

image

@FArekkusu FArekkusu changed the title "-->" character sequence is highlighted as a comment in JavaScript "-->" character sequence is highlighted as a comment in some languages Jun 5, 2020
@kazk
Copy link
Member

kazk commented Jun 5, 2020

It's reproducible on https://codemirror.net/mode/javascript so it's a bug in CodeMirror.
image

So please let them know instead. I'll update the version when the fix is published.

@kazk
Copy link
Member

kazk commented Jul 2, 2020

Updated CodeMirror

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

2 participants