ox-html: Fix infloop

* lisp/ox-html.el (org-html--format-toc-headline): Fix infloop
  introduced in c299c109bb.
This commit is contained in:
Nicolas Goaziou 2013-03-02 17:44:43 +01:00
parent ff97a0ee9d
commit 82246f8196

View file

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