mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 23:12:21 -04:00
fix preview & identation
This commit is contained in:
parent
8180996c16
commit
928bc99e1a
1 changed files with 2 additions and 1 deletions
|
@ -803,7 +803,8 @@ class PreviewDialog(QDialog):
|
|||
def updateCard(self):
|
||||
c = self.cards[self.currentCard]
|
||||
self.dialog.webView.setHtml(
|
||||
"<style>" + self.deck.css + "</style>" +
|
||||
"<style>" + self.deck.css +
|
||||
"\ndiv { white-space: pre-wrap; }</style>" +
|
||||
mungeQA(self.deck, c.htmlQuestion()) +
|
||||
"<br><br><hr><br><br>" +
|
||||
mungeQA(self.deck, c.htmlAnswer()))
|
||||
|
|
Loading…
Reference in a new issue