forked from mirrors/org-mode
Normalize the construction of outline-container DIV ID
* ox-html.el (org-html-headline): Normalize the construction of outline-container DIVs by always using the inner headline ID. TINYCHANGE
This commit is contained in:
parent
6c11a0664e
commit
01ce58b3d6
|
@ -2197,7 +2197,7 @@ holding contextual information."
|
|||
"div")
|
||||
(format "outline-container-%s"
|
||||
(or (org-element-property :CUSTOM_ID headline)
|
||||
section-number))
|
||||
(concat "sec-" section-number)))
|
||||
(concat (format "outline-%d" level1) (and extra-class " ")
|
||||
extra-class)
|
||||
(format "\n<h%d id=\"%s\">%s%s</h%d>\n"
|
||||
|
|
Loading…
Reference in a new issue