From e0c1ada6ba4b42fa37b42399a7a5648ba9ed14dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Sch=C3=B6ll?= Date: Sun, 13 Oct 2024 17:43:50 +0100 Subject: [PATCH] fix(ui): render markdown content for questions in nested lists (#1114) Fixes #1113 --- src/gui/flashcard-review-view.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/flashcard-review-view.tsx b/src/gui/flashcard-review-view.tsx index de4796cb..59b3e61b 100644 --- a/src/gui/flashcard-review-view.tsx +++ b/src/gui/flashcard-review-view.tsx @@ -195,7 +195,7 @@ export class FlashcardReviewView { this._currentNote.filePath, ); await wrapper.renderMarkdownWrapper( - this._currentCard.front, + this._currentCard.front.trimStart(), this.content, this._currentQuestion.questionText.textDirection, );