Browse Source

org-footnote: Fix export bug introduced by previous commit

* lisp/org-footnote.el (org-footnote-normalize): Make sure that
  footnotes are moved to a single place during export.
Nicolas Goaziou 6 years ago
parent
commit
acd743bdc0
1 changed files with 2 additions and 1 deletions
  1. 2 1
      lisp/org-footnote.el

+ 2 - 1
lisp/org-footnote.el

@@ -775,7 +775,8 @@ Additional note on `org-footnote-insert-pos-for-preprocessor':
        ((not ref-table))
        ;; Cases when footnotes should be inserted in one place.
        ((or (not (eq major-mode 'org-mode))
-	    org-footnote-section)
+	    org-footnote-section
+	    export-props)
 	;; Insert again the section title, if any.  Ensure that title,
 	;; or the subsequent footnotes, will be separated by a blank
 	;; lines from the rest of the document.  In an Org buffer,