Fix bug when exporing inactive timestamps.
* org-html.el (org-html-handle-time-stamps): fix bug when exporing inactive timestamps.
This commit is contained in:
parent
4cc1063dd2
commit
ca69b55624
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue