mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 07:22:23 -04:00
temp hack to prevent latex generation on ankiweb
This commit is contained in:
parent
175f3f0a0e
commit
a334f839b8
1 changed files with 3 additions and 0 deletions
|
@ -128,6 +128,9 @@ def imgLink(deck, latex, build=True):
|
|||
return img
|
||||
|
||||
def formatQA(html, type, cid, mid, fact, tags, cm, deck):
|
||||
import socket
|
||||
if socket.gethostname() == "phat.ichi2.net":
|
||||
return html
|
||||
return renderLatex(deck, html)
|
||||
|
||||
# setup q/a filter
|
||||
|
|
Loading…
Reference in a new issue