mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
underline workaround
This commit is contained in:
parent
9231e79f08
commit
0f6b0054f3
1 changed files with 3 additions and 0 deletions
|
@ -196,6 +196,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
|
||||||
|
txt = txt.replace("text-decoration: underline;",
|
||||||
|
"border-bottom: 1px solid #000;")
|
||||||
return txt
|
return txt
|
||||||
|
|
||||||
def getBase(deck):
|
def getBase(deck):
|
||||||
|
|
Loading…
Reference in a new issue