summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <n.goaziou@gmail.com>2013-03-02 17:44:43 +0100
committerNicolas Goaziou <n.goaziou@gmail.com>2013-03-02 18:02:57 +0100
commit82246f8196986d0cbfd20b22e9de013f04ac5b60 (patch)
treea1dd2ebbeb3407af4c9dc7d0467434409fe80dcf
parentff97a0ee9d55dff2bdefe3ca347de38c7560dd87 (diff)
downloadorg-mode-82246f8196986d0cbfd20b22e9de013f04ac5b60.tar.gz
ox-html: Fix infloop
* lisp/ox-html.el (org-html--format-toc-headline): Fix infloop introduced in c299c109bb108a4be71e889b74c2d9b41a3f631b.
-rw-r--r--lisp/ox-html.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/ox-html.el b/lisp/ox-html.el
index 2472345..420a0bc 100644
--- a/lisp/ox-html.el
+++ b/lisp/ox-html.el
@@ -1793,10 +1793,10 @@ INFO is a plist used as a communication channel."
(org-export-get-alt-title headline info)
;; Ignore any footnote-reference, link,
;; radio-target and target in table of contents.
- (nconc
+ (append
'((footnote-reference . ignore)
- (link . (lambda (link contents i) contents))
- (radio-target . (lambda (radio contents i) contents))
+ (link . (lambda (link desc i) desc))
+ (radio-target . (lambda (radio desc i) desc))
(target . ignore))
(org-export-backend-translate-table 'html))
info)