From ca69b556241ae904c5f291c98a6453f4ce830557 Mon Sep 17 00:00:00 2001 From: Jason Dunsmore Date: Tue, 1 Feb 2011 17:46:57 +0100 Subject: [PATCH] Fix bug when exporing inactive timestamps. * org-html.el (org-html-handle-time-stamps): fix bug when exporing inactive timestamps. --- lisp/org-html.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lisp/org-html.el b/lisp/org-html.el index 6c0e5e3f1..2f0377b7c 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)) - " @" + " " (if (match-end 1) - (format "@%s @" + (format "%s " (match-string 1 s))) - (format " @%s@" + (format " %s" (substring (org-translate-time (match-string 3 s)) 1 -1)) - "@") + "") s (substring s (match-end 0)))) ;; Line break if line started and ended with time stamp stuff (if (not r)