mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
add zero width space at end of span
This commit is contained in:
parent
8282d3e7de
commit
8ea3117d67
1 changed files with 2 additions and 0 deletions
|
@ -184,4 +184,6 @@ def mungeQA(deck, txt):
|
||||||
create=True), match).encode("utf-8")), "utf-8")
|
create=True), match).encode("utf-8")), "utf-8")
|
||||||
return 'img src="%s"' % src
|
return 'img src="%s"' % src
|
||||||
txt = re.sub('img src="(.*?)"', quote, txt)
|
txt = re.sub('img src="(.*?)"', quote, txt)
|
||||||
|
# hack to fix thai presentation issues
|
||||||
|
txt = txt.replace("</span>", "​</span>")
|
||||||
return txt
|
return txt
|
||||||
|
|
Loading…
Reference in a new issue