forked from mirrors/org-mode
ox-odt: Fix nested footnotes export
* lisp/ox-odt.el (org-odt-footnote-reference): Fix nested footnotes export. Reported-by: Vaidheeswaran <vaidheeswaran.chinnaraju@gmail.com> <http://permalink.gmane.org/gmane.emacs.orgmode/94900>
This commit is contained in:
parent
ccb663c742
commit
68f094a706
|
@ -1740,9 +1740,9 @@ CONTENTS is nil. INFO is a plist holding contextual information."
|
|||
(format "<text:span text:style-name=\"%s\">%s</text:span>"
|
||||
"OrgSuperscript" ",")))
|
||||
;; Transcode footnote reference.
|
||||
(let ((n (org-export-get-footnote-number footnote-reference info)))
|
||||
(let ((n (org-export-get-footnote-number footnote-reference info t)))
|
||||
(cond
|
||||
((not (org-export-footnote-first-reference-p footnote-reference info))
|
||||
((not (org-export-footnote-first-reference-p footnote-reference info t))
|
||||
(funcall --format-footnote-reference n))
|
||||
;; Inline definitions are secondary strings.
|
||||
;; Non-inline footnotes definitions are full Org data.
|
||||
|
|
Loading…
Reference in a new issue