close
Skip to content

Allow class names to begin with an underscore in textModel.ts #49652

Merged
alexdima merged 1 commit intomicrosoft:masterfrom
chsienki:fix_css_classnames
May 15, 2018
Merged

Allow class names to begin with an underscore in textModel.ts #49652
alexdima merged 1 commit intomicrosoft:masterfrom
chsienki:fix_css_classnames

Conversation

@chsienki
Copy link
Copy Markdown
Contributor

As per microsoft/monaco-editor#869 class names that begin with an underscore are being cleaned of the underscore even though it is a valid identifier.

This stops underscores being cleaned, which allows WebPack generated css classnames to be used as decorations.

@alexdima
Copy link
Copy Markdown
Member

👍 Thank you!

@alexdima alexdima added this to the May 2018 milestone May 15, 2018
@alexdima alexdima merged commit 686498e into microsoft:master May 15, 2018
@chsienki chsienki deleted the fix_css_classnames branch May 15, 2018 17:15
@github-actions github-actions Bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants