ox-html.el: Bugfix wrt org-info.js
commit1f591bcc3049d6c522d0c7a59d86770c897cb8b0
authorBastien Guerry <bzg@altern.org>
Fri, 1 Mar 2013 15:16:53 +0000 (1 16:16 +0100)
committerBastien Guerry <bzg@altern.org>
Fri, 1 Mar 2013 15:16:53 +0000 (1 16:16 +0100)
tree991474713ee02abe5d19da3d5637f20fe3f351ea
parente48f13423a9e316666baebc4ac328e285b988e25
ox-html.el: Bugfix wrt org-info.js

* ox-html.el (org-html-headline): For headlines whose first
element is a headline and not a section, pretend there is an
empty section (as "") for the correct HTML div to be inserted.

This fixes a bug wrt org-info.js.  Thanks to Nicolas for
guiding me through this patch.
lisp/ox-html.el