From 928bc99e1a8c4f68ccef868ca11398cb396feb3b Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sat, 31 Jan 2009 04:49:17 +0900 Subject: [PATCH] fix preview & identation --- ankiqt/ui/facteditor.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ankiqt/ui/facteditor.py b/ankiqt/ui/facteditor.py index 23838c00a..a55dfa0ee 100644 --- a/ankiqt/ui/facteditor.py +++ b/ankiqt/ui/facteditor.py @@ -803,7 +803,8 @@ class PreviewDialog(QDialog): def updateCard(self): c = self.cards[self.currentCard] self.dialog.webView.setHtml( - "" + + "" + mungeQA(self.deck, c.htmlQuestion()) + "




" + mungeQA(self.deck, c.htmlAnswer()))