Export: Fix bug with ID property search
commit3672910d2f9706f6a8fe7a1b065427863a803387
authorCarsten Dominik <carsten.dominik@gmail.com>
Fri, 16 Apr 2010 03:12:19 +0000 (16 05:12 +0200)
committerCarsten Dominik <carsten.dominik@gmail.com>
Fri, 16 Apr 2010 03:12:19 +0000 (16 05:12 +0200)
tree28af5c256186d7f5afe27cb48e226e5e2f4ff10a
parent5c10448b476b80c9d590d4955109538ec4ead55b
Export: Fix bug with ID property search

Jan Böcker writes:

> 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:
>
lisp/ChangeLog
lisp/org-exp.el