Browse Source

ox-bibtex: Fix bibliography location in HTML

* contrib/lisp/ox-bibtex.el (org-bibtex-process-bib-files): Fix
  insertion location of bibliography in HTML export.

Reported-by: gongzhitaao <zhitaao.gong@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/104117>
Kyle Meyer 9 năm trước cách đây
mục cha
commit
ba5e1be148
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      contrib/lisp/ox-bibtex.el

+ 1 - 0
contrib/lisp/ox-bibtex.el

@@ -248,6 +248,7 @@ Return new parse tree."
 		(insert (format "<div id=\"bibliography\">\n<h2>%s</h2>\n"
 				(org-export-translate "References" :html info)))
 		(insert-file-contents (concat out-file ".html"))
+		(goto-char (point-max))
 		(insert "\n</div>"))
 	       ((org-export-derived-backend-p backend 'ascii)
 		;; convert HTML references to text w/pandoc