From 8ea3117d675ba090577ebcb81f52efe27a2d0ac1 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Wed, 10 Dec 2008 16:48:24 +0900 Subject: [PATCH] add zero width space at end of span --- ankiqt/ui/utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ankiqt/ui/utils.py b/ankiqt/ui/utils.py index aaa45667a..89c606e30 100644 --- a/ankiqt/ui/utils.py +++ b/ankiqt/ui/utils.py @@ -184,4 +184,6 @@ def mungeQA(deck, txt): create=True), match).encode("utf-8")), "utf-8") return 'img src="%s"' % src txt = re.sub('img src="(.*?)"', quote, txt) + # hack to fix thai presentation issues + txt = txt.replace("", "​") return txt