Browse Source

Fix last commit

Bastien Guerry 13 năm trước cách đây
mục cha
commit
4d7f4d87fb
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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) ""))