forked from mirrors/org-mode
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.
This commit is contained in:
parent
a370bae5d9
commit
92c401198c
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue