diff --git a/lisp/ox-html.el b/lisp/ox-html.el index 3844fa09f..85efc3d99 100644 --- a/lisp/ox-html.el +++ b/lisp/ox-html.el @@ -2108,7 +2108,8 @@ holding contextual information." (preferred-id (car ids)) (extra-ids (cdr ids)) (extra-class (org-element-property :HTML_CONTAINER_CLASS headline)) - (level1 (+ level (1- org-html-toplevel-hlevel)))) + (level1 (+ level (1- org-html-toplevel-hlevel))) + (first-content (car (org-element-contents headline)))) (format "