mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 22:42:25 -04:00
update getBase call for preview
This commit is contained in:
parent
bdba8cea83
commit
30949edbc3
1 changed files with 1 additions and 1 deletions
|
@ -1107,7 +1107,7 @@ class PreviewDialog(QDialog):
|
|||
"\ndiv { white-space: pre-wrap; }")
|
||||
styles = runFilter("addStyles", styles, c)
|
||||
self.dialog.webView.setHtml(
|
||||
('<html><head>%s</head><body>' % getBase(self.deck)) +
|
||||
('<html><head>%s</head><body>' % getBase(self.deck, c)) +
|
||||
"<style>" + styles + "</style>" +
|
||||
runFilter("drawQuestion", mungeQA(self.deck, c.htmlQuestion()),
|
||||
c) +
|
||||
|
|
Loading…
Reference in a new issue