Allow setting :HTML_CONTAINER as a per-headline property.
commitdb8d3f5dcfb4056c7920758c8c4fcd43654b27fb
authorRick Frankel <rick@rickster.com>
Mon, 15 Apr 2013 17:59:16 +0000 (15 13:59 -0400)
committerRick Frankel <rick@rickster.com>
Mon, 15 Apr 2013 17:59:16 +0000 (15 13:59 -0400)
tree30502eab792a5d27f92e8e1aadc995ad7b0c652a
parent6e1a39bd6efe8bf87d87ac42c8b86633d812791b
Allow setting :HTML_CONTAINER as a per-headline property.

* lisp/ox-html.el (org-html-headline): Use (new) org-html--container
  function to set container element.
(org-html--container): Returns appropriate element for headline
container:
        1. The element set on the headline :HTML_CONTAINER property.
        2. the :html-container element (if the relative headline level
        is 1.)
        3. The default ("div").
lisp/ox-html.el