[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] [PATCH] [BUG] Timestamps surrounded by @@ in HTML export
From: |
Jason Dunsmore |
Subject: |
[Orgmode] [PATCH] [BUG] Timestamps surrounded by @@ in HTML export |
Date: |
Tue, 01 Feb 2011 09:37:57 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
I noticed in the latest Git version that each inactive timestamp has
"@@" before and after it in HTML exported output. Here is a patch that
fixes it.
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 conver
(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)
- [Orgmode] [PATCH] [BUG] Timestamps surrounded by @@ in HTML export,
Jason Dunsmore <=