Revert "temp hack to prevent latex generation on ankiweb"

This reverts commit a334f839b8.

fixed on the server side now
This commit is contained in:
Damien Elmes 2011-01-13 05:25:20 +09:00
parent fdd88080c8
commit 3fe6167d7f

View file

@ -128,9 +128,6 @@ 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