diff --git a/aqt/webview.py b/aqt/webview.py index 14778774a..221d39678 100644 --- a/aqt/webview.py +++ b/aqt/webview.py @@ -149,7 +149,7 @@ class AnkiWebView(QWebEngineView): dpi = screen.logicalDpiX() return max(1, dpi / 96.0) - def stdHtml(self, body, css="", bodyClass="", js=None, head="", bgcol=None): + def stdHtml(self, body, css="", bodyClass="", js=None, head=""): if isWin: buttonspec = "button { font-size: 12px; font-family:'Segoe UI'; }" fontspec = 'font-size:12px;font-family:"Segoe UI";' @@ -169,7 +169,7 @@ border-radius:5px; font-family: Helvetica }""" html="""