summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean O'Halpin <sean.ohalpin@gmail.com>2012-08-29 19:17:52 +0100
committerBastien Guerry <bzg@altern.org>2012-08-29 20:19:35 +0200
commit71af82f55eff28aaf972db930f5c64f637ec7553 (patch)
tree89d1e89d508ebb095488d634808f14d6ea77f445
parent555ffa084dbd3c8272c1a2d3dde28c5fb2b9fc61 (diff)
downloadorg-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.el2
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