diff options
author | Jason Dunsmore <emacs-orgmode@dunsmor.com> | 2011-02-01 17:46:57 +0100 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2011-02-01 17:46:57 +0100 |
commit | ca69b556241ae904c5f291c98a6453f4ce830557 (patch) | |
tree | f9563963432cb352ed1f21e1991ee643e03f5fb1 | |
parent | 4cc1063dd29f3cfb14772d7c1d7d2f2c1fe9f567 (diff) | |
download | org-mode-ca69b556241ae904c5f291c98a6453f4ce830557.tar.gz |
Fix bug when exporing inactive timestamps.
* org-html.el (org-html-handle-time-stamps): fix bug when
exporing inactive timestamps.
-rw-r--r-- | lisp/org-html.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/org-html.el b/lisp/org-html.el index 6c0e5e3..2f0377b 100644 --- a/lisp/org-html.el +++ b/lisp/org-html.el @@ -2124,14 +2124,14 @@ But it has the disadvantage, that Org-mode's HTML conversions cannot be used." (or b (setq b (substring s 0 (match-beginning 0)))) (setq r (concat r (substring s 0 (match-beginning 0)) - " @<span class=\"timestamp-wrapper\">" + " <span class=\"timestamp-wrapper\">" (if (match-end 1) - (format "@<span class=\"timestamp-kwd\">%s @</span>" + (format "<span class=\"timestamp-kwd\">%s </span>" (match-string 1 s))) - (format " @<span class=\"timestamp\">%s@</span>" + (format " <span class=\"timestamp\">%s</span>" (substring (org-translate-time (match-string 3 s)) 1 -1)) - "@</span>") + "</span>") s (substring s (match-end 0)))) ;; Line break if line started and ended with time stamp stuff (if (not r) |