mirror of
https://github.com/ankitects/anki.git
synced 2025-09-23 16:26:40 -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")
|
||||
return 'img src="%s"' % src
|
||||
txt = re.sub('img src="(.*?)"', quote, txt)
|
||||
# hack to fix thai presentation issues
|
||||
txt = txt.replace("</span>", "​</span>")
|
||||
return txt
|
||||
|
|
Loading…
Reference in a new issue