提交 ce33a315 编写于 作者: C Chris Sienkiewicz

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

上级 d8e55205
......@@ -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.
先完成此消息的编辑!
想要评论请 注册