mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04: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):
|
||||
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):
|
||||
|
|
Loading…
Reference in a new issue