소스 검색

Fix: org-e-html-special-block had not been converted from LaTeX version

* contrib/lisp/org-e-html.el (org-e-html-special-block): convert LaTeX
markup to HTML

This function had not been modified from its org-e-latex-special-block original
so with #+BEGIN_ORG for example you would get \begin{org}...\end{org}
in the output instead of <div class="org">...</div>.

TINYCHANGE
Sean O'Halpin 13 년 전
부모
커밋
71af82f55e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      contrib/lisp/org-e-html.el

+ 1 - 1
contrib/lisp/org-e-html.el

@@ -2621,7 +2621,7 @@ holding contextual information."
   (let ((type (downcase (org-element-property :type special-block))))
     (org-e-html--wrap-label
      special-block
-     (format "\\begin{%s}\n%s\\end{%s}" type contents type))))
+     (format "<div class=\"%s\">\n%s\n</div>" type contents))))
 
 
 ;;;; Src Block