From mboxrd@z Thu Jan 1 00:00:00 1970 From: "T. V. Raman" Subject: Bug: Angle brackets in org-time-stamp-format loses in html export Date: Fri, 5 Sep 2008 06:42:06 -0700 Message-ID: <18625.14126.253540.106424@gargle.gargle.HOWL> Reply-To: raman@users.sf.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KbbZm-0001Ur-LZ for emacs-orgmode@gnu.org; Fri, 05 Sep 2008 09:42:14 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KbbZl-0001Ub-7y for emacs-orgmode@gnu.org; Fri, 05 Sep 2008 09:42:13 -0400 Received: from [199.232.76.173] (port=37762 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KbbZl-0001UY-2z for emacs-orgmode@gnu.org; Fri, 05 Sep 2008 09:42:13 -0400 Received: from qmta07.westchester.pa.mail.comcast.net ([76.96.62.64]:47393) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KbbZl-0000OJ-BB for emacs-orgmode@gnu.org; Fri, 05 Sep 2008 09:42:13 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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