mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-28 09:03:53 +00:00
4.6.7 first pr (#726)
This commit is contained in:
@@ -15,7 +15,9 @@ export const htmlToMarkdown = (html?: string | null) =>
|
||||
worker.on('message', (md: string) => {
|
||||
worker.terminate();
|
||||
|
||||
resolve(simpleMarkdownText(md));
|
||||
let rawText = simpleMarkdownText(md);
|
||||
|
||||
resolve(rawText);
|
||||
});
|
||||
worker.on('error', (err) => {
|
||||
worker.terminate();
|
||||
|
Reference in New Issue
Block a user