underline workaround

This commit is contained in:
Damien Elmes 2009-09-30 12:59:54 +09:00
parent 9231e79f08
commit 0f6b0054f3

View file

@ -196,6 +196,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;")
return txt
def getBase(deck):