1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2025-01-19 19:07:43 +00:00

Fix parenthesis error in footnote export code

This commit is contained in:
Carsten Dominik 2009-08-04 16:46:34 +02:00
parent eef99e9abd
commit f322206708
2 changed files with 6 additions and 3 deletions

View File

@ -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'.

View File

@ -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)