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

Get unwanted comment with javascript language #822

Closed
dangelion opened this issue Nov 10, 2015 · 4 comments
Closed

Get unwanted comment with javascript language #822

dangelion opened this issue Nov 10, 2015 · 4 comments

Comments

@dangelion
Copy link

In this snippet of javascript, Prism read the /* as the begin of a comment.

    watch: {
      less: {
        files: [
          'path/*.css'
        ],
        tasks: ['css:dev']
      }
    }

So I see the code commented from there to the end!

@Golmote
Copy link
Contributor

Golmote commented Nov 10, 2015

Thanks for reporting. This is a known issue, though.

@dangelion
Copy link
Author

So is still a bug? Have you in plan to solve it?

@Golmote
Copy link
Contributor

Golmote commented Nov 10, 2015

Yes I'd like to get this solved at some point. But the issue is not that trivial. Several PRs have already been submitted in an attempt to fix it. We are definitely working on fixing this but it might take some time.
I'll keep this issue open for now.

@Golmote
Copy link
Contributor

Golmote commented Jun 18, 2016

This must have been fixed by #967. I cannot reproduce the issue on the Test page anymore.

@Golmote Golmote closed this as completed Jun 18, 2016
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