emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Jan Böcker" <jan.boecker@jboecker.de>
To: Org Mode <emacs-orgmode@gnu.org>
Subject: [BUG] org-export confused by " :ID: something" in elisp source blocks
Date: Thu, 15 Apr 2010 09:20:55 +0200	[thread overview]
Message-ID: <4BC6BE57.4070805@jboecker.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 881 bytes --]

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

[-- Attachment #2: export-bug.html --]
[-- Type: text/html, Size: 2730 bytes --]

[-- Attachment #3: export-bug.org --]
[-- Type: text/plain, Size: 112 bytes --]

#+OPTIONS: toc:nil author:nil creator:nil timestamp:nil

* Test Node
#+begin_src emacs-lisp
  " :ID:"
#+end_src

[-- Attachment #4: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

             reply	other threads:[~2010-04-15 11:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-15  7:20 Jan Böcker [this message]
2010-04-16  3:12 ` [BUG] org-export confused by " :ID: something" in elisp source blocks Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BC6BE57.4070805@jboecker.de \
    --to=jan.boecker@jboecker.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).