diff --git a/ankiqt/ui/utils.py b/ankiqt/ui/utils.py index 0bc1454c6..b189b41dd 100644 --- a/ankiqt/ui/utils.py +++ b/ankiqt/ui/utils.py @@ -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):