Explorar o código

ox: Fix search cell error on footnote sections

* lisp/ox.el (org-export--install-footnote-definitions):
  Provide :raw-value property when building a virtual footnote
  section, as `org-export-search-cells' expects it.
Nicolas Goaziou %!s(int64=7) %!d(string=hai) anos
pai
achega
6921d84198
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      lisp/ox.el

+ 2 - 1
lisp/ox.el

@@ -2844,7 +2844,8 @@ containing their first reference."
      (org-element-create 'headline
 			 (list :footnote-section-p t
 			       :level 1
-			       :title org-footnote-section)
+			       :title org-footnote-section
+			       :raw-value org-footnote-section)
 			 (apply #'org-element-create
 				'section
 				nil