emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: Angle brackets in org-time-stamp-format loses in html export
@ 2008-09-05 13:42 T. V. Raman
  2008-09-05 21:01 ` Carsten Dominik
  0 siblings, 1 reply; 6+ messages in thread
From: T. V. Raman @ 2008-09-05 13:42 UTC (permalink / raw)
  To: emacs-orgmode

org.el has the following definition:

(defconst org-time-stamp-formats '("<%Y-%m-%d %a>" . "<%Y-%m-%d %a %H:%M>")
  "Formats for `format-time-string' which are used for time stamps.
It is not recommended to change this constant.")

The above loses when you use org-insert-export-options-template
and then create HTML --
the #+ date: line ends with  angle brackets around the date, and
these eventually land up in the meta tag  within an attribute
value.

The problem here is of course brain-dead html/sgml/xml which
doesn't like angle brackets in attribute values.

-- 
Best Regards,
--raman

      
Email:  raman@users.sf.net
WWW:    http://emacspeak.sf.net/raman/
AIM:    emacspeak       GTalk: tv.raman.tv@gmail.com
PGP:    http://emacspeak.sf.net/raman/raman-almaden.asc
Google: tv+raman 
IRC:    irc://irc.freenode.net/#emacs

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-09-07 15:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-05 13:42 Bug: Angle brackets in org-time-stamp-format loses in html export T. V. Raman
2008-09-05 21:01 ` Carsten Dominik
2008-09-05 22:28   ` raman
2008-09-06  7:21     ` Carsten Dominik
2008-09-06 12:40       ` T. V. Raman
2008-09-07 15:27     ` Carsten Dominik

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).