summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancesco Pizzolante <fpz-djc/iPCCuDYQheJpep6IedvLeJWuRmrY@public.gmane.org>2013-04-09 13:38:19 +0200
committerBastien Guerry <bzg@altern.org>2013-04-09 19:05:15 +0200
commit01ce58b3d652c5a72a9c5f4f873bbfd5673a5b88 (patch)
treeb72f9930ca928c9a36e8b4e9b98d308346253d4b
parent6c11a0664e9684733d0d51bd86bcd5ab534c1268 (diff)
downloadorg-mode-01ce58b3d652c5a72a9c5f4f873bbfd5673a5b88.tar.gz
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
-rw-r--r--lisp/ox-html.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ox-html.el b/lisp/ox-html.el
index 19743cf..3a67e39 100644
--- a/lisp/ox-html.el
+++ b/lisp/ox-html.el
@@ -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"