Browse Source

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 12 years ago
parent
commit
71af82f55e
1 changed files with 1 additions and 1 deletions
  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