Skip to content

Conversation

@kjpowerworld
Copy link

@kjpowerworld kjpowerworld commented Apr 4, 2017

In the below snippet:

/*
 * Some comment...
 */
body InlineCssComponentName {
  font-size: 11px;
}

the inline CSS component won't replace the component name InlineCssComponentName with the generated component ID because the rule follows a CSS comment. The updated regex in this PR will ignore the comment.

@kjpowerworld kjpowerworld changed the title Ignore comments in CSS files. Fix: Ignore comments in CSS files. Apr 4, 2017
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

Successfully merging this pull request may close these issues.

1 participant