Update mathjax plugin for new tags. Fixes Issue #29.

This commit is contained in:
Brit Butler 2013-04-21 14:21:05 -04:00
parent 0e6edb7211
commit a7754c5246

View file

@ -17,7 +17,7 @@
(defun enable (&key force config (preset "TeX-AMS-MML_HTMLorMML")
(location "http://cdn.mathjax.org/mathjax/latest/MathJax.js"))
(labels ((math-post-p (obj)
(member "math" (content-tags obj) :test #'string=))
(member (make-tag "math") (content-tags obj) :test #'tag-slug=))
(mathjax-p (obj)
(or force
(etypecase obj