Browse Source

Export: Add forgotten space after section number.

Carsten Dominik 16 years ago
parent
commit
8e8ad424b6
2 changed files with 6 additions and 2 deletions
  1. 4 0
      lisp/ChangeLog
  2. 2 2
      lisp/org-exp.el

+ 4 - 0
lisp/ChangeLog

@@ -1,3 +1,7 @@
+2009-02-17  Carsten Dominik  <carsten.dominik@gmail.com>
+
+	* org-exp.el (org-html-level-start): Space after section number.
+
 2009-02-16  Carsten Dominik  <carsten.dominik@gmail.com>
 
 	* org-agenda.el (org-agenda-get-sexps): Add todo state as

+ 2 - 2
lisp/org-exp.el

@@ -4656,9 +4656,9 @@ When TITLE is nil, just close all open levels."
 	(setq level (+ level org-export-html-toplevel-hlevel -1))
 	(if (and org-export-with-section-numbers (not body-only))
 	    (setq title (concat
-			 (format "<span class=\"section-number-%d\"> %s</span>"
+			 (format "<span class=\"section-number-%d\">%s</span>"
 				 level snumber)
-			 title)))
+			 " " title)))
 	(unless (= head-count 1) (insert "\n</div>\n"))
 	(insert (format "\n<div id=\"outline-container-%s\" class=\"outline-%d\">\n<h%d id=\"sec-%s\">%s%s</h%d>\n<div class=\"outline-text-%d\" id=\"text-%s\">\n"
 			snumber level level snumber extra-targets