From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Jan_B=F6cker?= Subject: [BUG] org-export confused by " :ID: something" in elisp source blocks Date: Thu, 15 Apr 2010 09:20:55 +0200 Message-ID: <4BC6BE57.4070805@jboecker.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------050801000705020700000706" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O2NNr-0003Ea-VT for emacs-orgmode@gnu.org; Thu, 15 Apr 2010 07:37:24 -0400 Received: from [140.186.70.92] (port=56529 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O2NNo-00039h-KN for emacs-orgmode@gnu.org; Thu, 15 Apr 2010 07:37:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O2JNj-00026c-Cf for emacs-orgmode@gnu.org; Thu, 15 Apr 2010 03:21:31 -0400 Received: from mail7.worldserver.net ([217.13.200.27]:58254) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O2JNg-00024U-3K for emacs-orgmode@gnu.org; Thu, 15 Apr 2010 03:20:59 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org Mode This is a multi-part message in MIME format. --------------050801000705020700000706 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hello, I think I discovered a bug in org-export. If you have a headline with an elisp code block containing the following line: " :ID:" the HTML code will be garbled at the beginning of the headline. I have attached a minimal test case and the resulting HTML file. The #+OPTIONS: line is not needed, but is included to make the HTML file less cluttered. There has to be whitespace between the " and :ID: and the string must be ended on the same line. For example, these lines trigger the bug: " :ID:" " :ID:" " :ID: garble-my-html" while these do not: ":ID:" ":ID: garble-my-html" " :ID: The article I published yesterday demonstrates the bug in a real-world situation -- its just before the "jb/filing-remember-hook-function" heading, just search for "jb/fi" in the following page: http://www.jboecker.de/2010/04/14/general-reference-filing-with-org-mode.html - Jan --------------050801000705020700000706 Content-Type: text/html; charset=UTF-8; name="export-bug.html" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="export-bug.html" export-bug

export-bug

" id=""">1 Test Node

" :ID:"
--------------050801000705020700000706 Content-Type: text/plain; name="export-bug.org" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="export-bug.org" #+OPTIONS: toc:nil author:nil creator:nil timestamp:nil * Test Node #+begin_src emacs-lisp " :ID:" #+end_src --------------050801000705020700000706 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --------------050801000705020700000706--