Procházet zdrojové kódy

Merge branch 'bugfix'

Nicolas Goaziou před 4 roky
rodič
revize
7d769615fd
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2 1
      lisp/oc-csl.el

+ 2 - 1
lisp/oc-csl.el

@@ -506,7 +506,8 @@ INFO is the export state, as a property list."
     ;; a footnote, but isn't yet.
     (when (and (not footnote) (org-cite-csl--note-style-p info))
       (org-cite-adjust-note citation info)
-      (org-cite-wrap-citation citation info))
+      (org-cite-wrap-citation citation info)
+      (setq footnote (org-element-lineage citation '(footnote-reference))))
     ;; Return structure.
     (apply #'citeproc-citation-create
            `(:note-index