emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* 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/)]
@ 2016-03-28 15:57 Keith Sutton
  2016-03-30 15:19 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Keith Sutton @ 2016-03-28 15:57 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 753 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 885 bytes --]

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

* Re: 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/)]
  2016-03-28 15:57 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/)] Keith Sutton
@ 2016-03-30 15:19 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2016-03-30 15:19 UTC (permalink / raw)
  To: Keith Sutton; +Cc: emacs-orgmode

Hello,

Keith Sutton <kesutt@gmail.com> writes:

> 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
> &lt; and &gt;. 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.

Fixed. Thank you.

Regards,

-- 
Nicolas Goaziou

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

end of thread, other threads:[~2016-03-30 15:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-28 15:57 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/)] Keith Sutton
2016-03-30 15:19 ` Nicolas Goaziou

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