Compare commits

...

3 Commits

Author SHA1 Message Date
Willie Zutz
e7af46e743 Merge b3aafba30c35c29b4126c2421e4ddde8f16e05d7 into 4154d5e4b113909575eeb325885346b46f4b651f 2025-04-24 03:02:52 -04:00
ItzCrazyKns
4154d5e4b1 Merge branch 'pr/629' 2025-04-23 20:35:52 +05:30
wellCh4n
8aaee2c40c feat(app): support complex title 2025-02-15 16:48:21 +08:00

View File

@ -64,7 +64,7 @@ export const getDocumentsFromLinks = async ({ links }: { links: string[] }) => {
const splittedText = await splitter.splitText(parsedText);
const title = res.data
.toString('utf8')
.match(/<title>(.*?)<\/title>/)?.[1];
.match(/<title.*>(.*?)<\/title>/)?.[1];
const linkDocs = splittedText.map((text) => {
return new Document({