Browse Source

ox-html: Fix infloop

* lisp/ox-html.el (org-html--format-toc-headline): Fix infloop
  introduced in c299c109bb108a4be71e889b74c2d9b41a3f631b.
Nicolas Goaziou 12 years ago
parent
commit
82246f8196
1 changed files with 3 additions and 3 deletions
  1. 3 3
      lisp/ox-html.el

+ 3 - 3
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)