diff options
author | Sean O'Halpin <sean.ohalpin@gmail.com> | 2012-08-29 19:17:52 +0100 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2012-08-29 20:19:35 +0200 |
commit | 71af82f55eff28aaf972db930f5c64f637ec7553 (patch) | |
tree | 89d1e89d508ebb095488d634808f14d6ea77f445 | |
parent | 555ffa084dbd3c8272c1a2d3dde28c5fb2b9fc61 (diff) | |
download | org-mode-71af82f55eff28aaf972db930f5c64f637ec7553.tar.gz |
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
-rw-r--r-- | contrib/lisp/org-e-html.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/lisp/org-e-html.el b/contrib/lisp/org-e-html.el index 6f9007f..f3daa17 100644 --- a/contrib/lisp/org-e-html.el +++ b/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 |