Commits

Anonymous committed 257ff31

Better MIME. We are not supporting only math, but whole LaTeX.

  • Participants
  • Parent commits 3f98b6f

Comments (0)

Files changed (1)

File tracmath/tracmath.py

 
     # IHTMLPreviewRenderer methods
     def get_quality_ratio(self, mimetype):
-        if mimetype in ('text/x-tracmath',):
+        if mimetype in ('text/x-latex',):
             return 2
         return 0