浏览代码

Fix last commit

Bastien Guerry 12 年之前
父节点
当前提交
4d7f4d87fb
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lisp/ox-html.el

+ 1 - 1
lisp/ox-html.el

@@ -1270,7 +1270,7 @@ INFO is a plist used as a communication channel."
 INFO is a plist used as a communication channel."
   (when (and (memq (plist-get info :with-latex) '(mathjax t))
 	     (org-element-map (plist-get info :parse-tree)
-		 '(latex-fragment) 'identity info t))
+		 '(latex-fragment latex-environment) 'identity info t))
     (let ((template org-html-mathjax-template)
 	  (options org-html-mathjax-options)
 	  (in-buffer (or (plist-get info :html-mathjax) ""))