From: Jason Dunsmore <emacs-orgmode@dunsmor.com>
To: Org-mode mailing list <emacs-orgmode@gnu.org>
Subject: [PATCH] [BUG] Timestamps surrounded by @@ in HTML export
Date: Tue, 01 Feb 2011 09:37:57 -0600 [thread overview]
Message-ID: <8762t3oje2.fsf@riotblast.dunsmor.com> (raw)
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)
next reply other threads:[~2011-02-01 15:38 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-01 15:37 Jason Dunsmore [this message]
2011-02-01 16:48 ` [PATCH] [BUG] Timestamps surrounded by @@ in HTML export Bastien
2011-02-01 18:50 ` Puneeth Chaganti
2011-02-02 9:48 ` Bastien
2011-02-02 9:55 ` Puneeth Chaganti
2011-02-02 10:12 ` Bastien
2011-02-02 17:44 ` Puneeth Chaganti
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8762t3oje2.fsf@riotblast.dunsmor.com \
--to=emacs-orgmode@dunsmor.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).