Browse Source

org.html: Initialize `html-pre-real-contents' correctly.

* org-html.el (org-export-as-html): Initialize
`html-pre-real-contents' correctly.

Thanks to Bill Jackson for this fix.
Bastien Guerry 7 years ago
parent
commit
e9ed31f8b9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/org-html.el

+ 1 - 1
lisp/org-html.el

@@ -1351,7 +1351,7 @@ PUB-DIR is set, use this as the publishing directory."
 	;; insert html preamble
 	(when (plist-get opt-plist :html-preamble)
 	  (let ((html-pre (plist-get opt-plist :html-preamble))
-		html-pre-real-contents)
+		(html-pre-real-contents ""))
 	    (cond ((stringp html-pre)
 		   (setq html-pre-real-contents
 			 (format-spec html-pre `((?t . ,title) (?a . ,author)