未验证 提交 686498e1 编写于 作者: A Alexandru Dima 提交者: GitHub

Merge pull request #49652 from chsienki/fix_css_classnames

Allow class names to begin with an underscore in textModel.ts 
......@@ -2757,7 +2757,7 @@ class DecorationsTrees {
}
function cleanClassName(className: string): string {
return className.replace(/[^a-z0-9\-]/gi, ' ');
return className.replace(/[^a-z0-9\-_]/gi, ' ');
}
export class ModelDecorationOverviewRulerOptions implements model.IModelDecorationOverviewRulerOptions {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册