Fix MD export

This commit is contained in:
Paulo Gustavo Veiga 2022-09-15 21:27:34 -07:00
parent 5e64af8f5e
commit 5efdefae58

View File

@ -55,10 +55,7 @@ class MDExporter extends Exporter {
}
result += '\n';
// Encode as url response ...
const blob = new Blob([result], { type: 'text/markdown' });
const urlStr = URL.createObjectURL(blob);
return Promise.resolve(urlStr);
return Promise.resolve(result);
}
private traverseBranch(prefix: string, branches: Array<INodeModel>) {