mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2025-02-02 20:55:13 +00:00
ox-ascii: Fix footnotes export
* lisp/ox-ascii.el (org-ascii-inner-template): Since 47265b3, footnotes definitions' contents do no start with `org-data'. Update code. Reported-by: Samuel Wales <samologist@gmail.com> <http://permalink.gmane.org/gmane.emacs.orgmode/102648>
This commit is contained in:
parent
cce317faf6
commit
265e5b9984
@ -1081,7 +1081,8 @@ holding export options."
|
||||
;; full-fledged definitions.
|
||||
(org-trim
|
||||
(let ((def (nth 2 ref)))
|
||||
(if (eq (org-element-type def) 'org-data)
|
||||
(if (org-element-map def org-element-all-elements
|
||||
#'identity info 'first-match)
|
||||
;; Full-fledged definition: footnote ID is
|
||||
;; inserted inside the first parsed
|
||||
;; paragraph (FIRST), if any, to be sure
|
||||
|
Loading…
x
Reference in New Issue
Block a user