提交 bd0ce761 编写于 作者: J Johannes Rieken

escape newlines in outline item labels

上级 2b79b107
......@@ -91,7 +91,7 @@ class Item extends BreadcrumbsItem {
} else if (this.element instanceof OutlineElement) {
// symbol
let label = new IconLabel(container);
label.setValue(this.element.symbol.name);
label.setValue(this.element.symbol.name.replace(/\r|\n|\r\n/g, '\u23CE'));
this._disposables.push(label);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册