From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sean O'Halpin" Subject: [PATCH][New exporter] Fix: org-e-html-special-block had not been converted from LaTeX version Date: Wed, 29 Aug 2012 19:17:52 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:36811) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6mpv-0001gN-MW for emacs-orgmode@gnu.org; Wed, 29 Aug 2012 14:17:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T6mpu-0004O4-Rf for emacs-orgmode@gnu.org; Wed, 29 Aug 2012 14:17:55 -0400 Received: from mail-pz0-f41.google.com ([209.85.210.41]:34827) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6mpu-0004Nv-LE for emacs-orgmode@gnu.org; Wed, 29 Aug 2012 14:17:54 -0400 Received: by dadi14 with SMTP id i14so622896dad.0 for ; Wed, 29 Aug 2012 11:17:53 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org Mode * 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
...
. --- 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 1c2255b..2d3d3c4 100644 --- a/contrib/lisp/org-e-html.el +++ b/contrib/lisp/org-e-html.el @@ -2617,7 +2617,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 "
\n%s\n
" type contents)))) ;;;; Src Block -- 1.7.0.4