mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-29 17:55:24 +00:00
@@ -3,7 +3,7 @@ import { readFileRawText } from './rawText';
|
||||
import { html2md } from '../../htmlStr2Md/utils';
|
||||
|
||||
export const readHtmlRawText = async (params: ReadRawTextByBuffer): Promise<ReadFileResponse> => {
|
||||
const { rawText: html } = readFileRawText(params);
|
||||
const { rawText: html } = await readFileRawText(params);
|
||||
|
||||
const { rawText, imageList } = html2md(html);
|
||||
|
||||
|
Reference in New Issue
Block a user