浏览代码

Fix parenthesis error in footnote export code

Carsten Dominik 15 年之前
父节点
当前提交
f322206708
共有 2 个文件被更改,包括 6 次插入3 次删除
  1. 3 0
      lisp/ChangeLog
  2. 3 3
      lisp/org-html.el

+ 3 - 0
lisp/ChangeLog

@@ -1,5 +1,8 @@
 2009-08-04  Carsten Dominik  <carsten.dominik@gmail.com>
 
+	* org-html.el (org-export-as-html): Fix parenthesis error in
+	footnore code.
+
 	* org-timer.el (org-timer-cancel-timers): Renamed from
 	`org-timer-cancel-timers'.
 

+ 3 - 3
lisp/org-html.el

@@ -1331,10 +1331,10 @@ lang=\"%s\" xml:lang=\"%s\">
 		(let ((n (match-string 1 line)))
 		  (setq org-par-open t
 			line (replace-match
-			      (format "<p class=\"footnote\">"
+			      (concat "<p class=\"footnote\">"
 				      (format org-export-html-footnote-format
-					      "<a class=\"footnum\" name=\"fn.%s\" href=\"#fnr.%s\">%s</a>")
-				      n n n) t t line)))))
+					      "<a class=\"footnum\" name=\"fn.%s\" href=\"#fnr.%s\">%s</a>"
+					      n n n) t t line))))))
 	    ;; Check if the line break needs to be conserved
 	    (cond
 	     ((string-match "\\\\\\\\[ \t]*$" line)