From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keith Sutton Subject: Bug: Active Timestamps in HTML Export [8.3.4 (8.3.4-28-gf9464d-elpa @ c:/Users/xxxx/AppData/Roaming/.emacs.d/elpa/org-20160328/)] Date: Mon, 28 Mar 2016 08:57:36 -0700 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11429ce4ab8ec6052f1df818 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54305) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akZXx-0004Ld-3D for emacs-orgmode@gnu.org; Mon, 28 Mar 2016 11:57:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1akZXt-0000zQ-6c for emacs-orgmode@gnu.org; Mon, 28 Mar 2016 11:57:41 -0400 Received: from mail-vk0-x22b.google.com ([2607:f8b0:400c:c05::22b]:33281) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akZXt-0000zA-0P for emacs-orgmode@gnu.org; Mon, 28 Mar 2016 11:57:37 -0400 Received: by mail-vk0-x22b.google.com with SMTP id k1so161082987vkb.0 for ; Mon, 28 Mar 2016 08:57:36 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --001a11429ce4ab8ec6052f1df818 Content-Type: text/plain; charset=UTF-8 With HTML export and org-export-with-planning t, no translation is done in org-html-planning to convert the angle brackets of an active timestamp to < and >. This gets shown by some browsers anyway, but is swallowed and ignored by others. Expected behavior: active timestamps have characters properly turned into HTML entities. Actual behavior: active timestamps retain angle brackets and therefore the HTML produced does not validate. Suggested remedy: use org-html-plain-text to convert the output of org-timestamp-translate to HTML. Emacs : GNU Emacs 24.5.1 (i686-pc-mingw32) of 2015-04-11 on LEG570 Package: Org-mode version 8.3.4 (8.3.4-28-gf9464d-elpa @ c:/Users/sut89614/AppData/Roaming/.emacs.d/elpa/org-20160328/) -- Keith Sutton --001a11429ce4ab8ec6052f1df818 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

With HTML export and org-export-with-planning t, no translat= ion is done in org-html-planning to convert the angle brackets of an active= timestamp to &lt; and &gt;. This gets shown by some browsers anywa= y, but is swallowed and ignored by others.

Expected behavior: active timestamps have characters properl= y turned into HTML entities.

Actual behavior: active timestamps retain angle brackets and= therefore the HTML produced does not validate.

Suggested remedy: use org-html-plain-text to convert the out= put of org-timestamp-translate to HTML.

Emacs =C2=A0: GNU Emacs 24.5.1 (i686-pc-mingw32)
=C2=A0of 2015-04-11 on LEG570
Package: Org-mode version 8.3.4 (8.3.4-28-gf9464d-elpa @ c:/Users/sut89614/= AppData/Roaming/.emacs.d/elpa/org-20160328/)

--
Keith Sutton

--001a11429ce4ab8ec6052f1df818--