switch to strict css parsing

This commit is contained in:
Damien Elmes 2012-10-26 20:09:32 +09:00
parent 43b129a3a3
commit 567a3c6e01

View file

@ -113,6 +113,7 @@ class AnkiWebView(QWebView):
else: else:
button = "font-weight: normal;" button = "font-weight: normal;"
self.setHtml(""" self.setHtml("""
<!doctype html>
<html><head><style> <html><head><style>
button { button {
%s %s