emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG] org-export confused by " :ID: something" in elisp source blocks
@ 2010-04-15  7:20 Jan Böcker
  2010-04-16  3:12 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Böcker @ 2010-04-15  7:20 UTC (permalink / raw)
  To: Org Mode

[-- 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [BUG] org-export confused by " :ID: something" in elisp source blocks
  2010-04-15  7:20 [BUG] org-export confused by " :ID: something" in elisp source blocks Jan Böcker
@ 2010-04-16  3:12 ` Carsten Dominik
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2010-04-16  3:12 UTC (permalink / raw)
  To: Jan Böcker; +Cc: Org Mode

Fixed, thanks.

- Carsten

On Apr 15, 2010, at 9:20 AM, Jan Böcker wrote:

> 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
> <export-bug.html><export- 
> bug.org>_______________________________________________
> 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

- Carsten

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-04-16  3:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-15  7:20 [BUG] org-export confused by " :ID: something" in elisp source blocks Jan Böcker
2010-04-16  3:12 ` Carsten Dominik

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).