mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-12-26 10:49:38 +00:00
ox-html: Fix infloop
* lisp/ox-html.el (org-html--format-toc-headline): Fix infloop
introduced in c299c109bb
.
This commit is contained in:
parent
ff97a0ee9d
commit
82246f8196
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user