fix: append large page text safely
This commit is contained in:
@@ -188,8 +188,9 @@ function parsePage(context: OneContext, space: ObjectSpace): PageWithTextDto {
|
||||
|
||||
const bodyParagraphs: string[] = [];
|
||||
for (const contentId of contentIds) {
|
||||
bodyParagraphs.push(
|
||||
...extractGraphTextSafely(context, space, contentId, 'page content')
|
||||
appendItems(
|
||||
bodyParagraphs,
|
||||
extractGraphTextSafely(context, space, contentId, 'page content')
|
||||
);
|
||||
}
|
||||
let text = bodyParagraphs
|
||||
|
||||
Reference in New Issue
Block a user