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

JS comments not highlighted under certain conditions #1900

Closed
dninomiya opened this issue May 19, 2019 · 2 comments
Closed

JS comments not highlighted under certain conditions #1900

dninomiya opened this issue May 19, 2019 · 2 comments

Comments

@dninomiya
Copy link

Information:

  • Prism version: latest
  • Environment: Browser

Description
image

  • If the string ends with / **, the comments after that will not be highlighted
  • JavaScript

Example

Please paste the code below.

const path = {
  scss: 'src/scss/**/*.scss',
  image: 'src/images/**', // By this line
};

// Comments are not highlighted
function css() {
  return src(path.scss)
    .pipe(dest('assets'));
}
@RunDevelopment
Copy link
Member

This is caused by #1492.

@RunDevelopment
Copy link
Member

Fixed by #2032.

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

No branches or pull requests

2 participants