mirror of
https://github.com/ankitects/anki.git
synced 2025-11-11 07:07:13 -05:00
this time webkit breaks bold. sigh
This commit is contained in:
parent
bd532500ef
commit
a3b3e7312a
1 changed files with 3 additions and 3 deletions
|
|
@ -200,9 +200,9 @@ def restoreHeader(widget, key):
|
||||||
def mungeQA(deck, txt):
|
def mungeQA(deck, txt):
|
||||||
txt = renderLatex(deck, txt)
|
txt = renderLatex(deck, txt)
|
||||||
txt = stripSounds(txt)
|
txt = stripSounds(txt)
|
||||||
# webkit currently doesn't handle underline
|
# webkit currently doesn't handle bold properly
|
||||||
txt = txt.replace("text-decoration: underline;",
|
txt = txt.replace("font-weight: 600;",
|
||||||
"border-bottom: 1px solid #000;")
|
"font-weight: 900;")
|
||||||
return txt
|
return txt
|
||||||
|
|
||||||
def getBase(deck, card):
|
def getBase(deck, card):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue