Browse Source

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 7 years ago
parent
commit
6921d84198
1 changed files with 2 additions and 1 deletions
  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