this time webkit breaks bold. sigh

This commit is contained in:
Damien Elmes 2010-01-21 03:02:43 +09:00
parent bd532500ef
commit a3b3e7312a

View file

@ -200,9 +200,9 @@ def restoreHeader(widget, key):
def mungeQA(deck, txt):
txt = renderLatex(deck, txt)
txt = stripSounds(txt)
# webkit currently doesn't handle underline
txt = txt.replace("text-decoration: underline;",
"border-bottom: 1px solid #000;")
# webkit currently doesn't handle bold properly
txt = txt.replace("font-weight: 600;",
"font-weight: 900;")
return txt
def getBase(deck, card):