temp hack to prevent latex generation on ankiweb

This commit is contained in:
Damien Elmes 2011-01-12 20:36:12 +09:00
parent 175f3f0a0e
commit a334f839b8

View file

@ -128,6 +128,9 @@ def imgLink(deck, latex, build=True):
return img return img
def formatQA(html, type, cid, mid, fact, tags, cm, deck): def formatQA(html, type, cid, mid, fact, tags, cm, deck):
import socket
if socket.gethostname() == "phat.ichi2.net":
return html
return renderLatex(deck, html) return renderLatex(deck, html)
# setup q/a filter # setup q/a filter