图片识别换行改为marked兼容

This commit is contained in:
zyc404 2023-02-25 14:20:47 +08:00
parent b179270bc1
commit fb5e55131d

View file

@ -295,7 +295,7 @@ export class chatgpt extends plugin {
const imgorc = await Bot.imageOcr(e.img[i])
if (imgorc.language === 'zh' || imgorc.language === 'en') {
for (let text of imgorc.wordslist) {
imgOcrText += `${text.words}\n`
imgOcrText += `${text.words} \n`
}
}
}