Merge pull request #22 from woudshoo/mathjax-improvements

Tiny improvement, do not emit text/x-math-config script section if not n...
This commit is contained in:
Brit Butler 2013-04-04 11:36:35 -07:00
commit ffc8fd3c60

View file

@ -9,9 +9,9 @@
(in-package :coleslaw-mathjax)
(defvar *mathjax-header* "<script type=\"text/x-mathjax-config\">
MathJax.Hub.Config({~@[~A~]});
</script>
(defvar *mathjax-header* "~@[<script type=\"text/x-mathjax-config\">
MathJax.Hub.Config({~A});
</script>~]
<script type=\"text/javascript\" src=\"~A~@[?config=~A~]\"></script>")
(defun enable (&key force config (preset "TeX-AMS-MML_HTMLorMML")