diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/client/views/pdf/AnchorMenu.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/pdf/AnchorMenu.tsx b/src/client/views/pdf/AnchorMenu.tsx index bff112017..633ec9bbb 100644 --- a/src/client/views/pdf/AnchorMenu.tsx +++ b/src/client/views/pdf/AnchorMenu.tsx @@ -142,7 +142,7 @@ export class AnchorMenu extends AntimodeMenu<AntimodeMenuProps> { transferToFlashcard = (text: string, x: number, y: number) => { // put each question generated by GPT on the front of the flashcard - const senArr = text.trim().split('Question: '); + const senArr = text.trim().split('Question:'); const collectionArr: Doc[] = []; for (let i = 1; i < senArr.length; i++) { const newDoc = Docs.Create.ComparisonDocument(senArr[i], { _layout_isFlashcard: true, _width: 300, _height: 300 }); |