ox-html: Fix handling of time-stamp-file

* lisp/ox-html.el (org-html--build-meta-info): Insert no timestamp
  when :time-stamp-file is nil.

TINYCHANGE
This commit is contained in:
Kodi Arfer 2013-05-30 15:19:57 -04:00 committed by Nicolas Goaziou
parent de0fcdf3b8
commit d574bf522d
1 changed files with 3 additions and 4 deletions

View File

@ -1506,10 +1506,9 @@ INFO is a plist used as a communication channel."
"iso-8859-1")))
(concat
(format "<title>%s</title>\n" title)
(format
(when :time-stamp-file
(format-time-string
(concat "<!-- " org-html-metadata-timestamp-format " -->\n"))))
(when (plist-get info :time-stamp-file)
(format-time-string
(concat "<!-- " org-html-metadata-timestamp-format " -->\n")))
(format
(if (org-html-html5-p info)
(org-html-close-tag "meta" " charset=\"%s\"" info)