提交 e1fd0cac 编写于 作者: P pi1024e

Refactor

上级 65b0a4d8
......@@ -82,10 +82,10 @@ export class MarkdownRenderer extends Disposable {
const disposeables = new DisposableStore();
let element: HTMLElement;
if (!markdown) {
element = document.createElement('span');
} else {
if (markdown) {
element = renderMarkdown(markdown, this.getOptions(disposeables));
} else {
element = document.createElement('span');
}
return {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册