mirror of
https://github.com/labring/FastGPT.git
synced 2026-05-05 01:02:59 +08:00
perf log (#6107)
* perf: html2md * perf: index * Add model log * update next version * log index
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import { simpleMarkdownText } from '@fastgpt/global/common/string/markdown';
|
||||
import { WorkerNameEnum, runWorker } from '../../worker/utils';
|
||||
import { type ImageType } from '../../worker/readFile/type';
|
||||
|
||||
@@ -8,5 +7,5 @@ export const htmlToMarkdown = async (html?: string | null) => {
|
||||
imageList: ImageType[];
|
||||
}>(WorkerNameEnum.htmlStr2Md, { html: html || '' });
|
||||
|
||||
return simpleMarkdownText(md.rawText);
|
||||
return md.rawText;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user