emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Pavel Panchekha <me@pavpanchekha.com>
To: emacs-orgmode@gnu.org
Subject: Bug in HTML export
Date: Mon, 26 Sep 2011 02:24:28 -0400	[thread overview]
Message-ID: <CAE4=OQ-S4cpQE7pzpn+qR0H8od728O10-CqXdA1W=TnNh_5=aA@mail.gmail.com> (raw)

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

Ampersands in #+AUTHOR: declarations are not correctly escaped by Org-mode.

To reproduce, export:

#+AUTHOR: a & b

You'll find the line

<meta name="author" content="a & b"/>

in the output, but it should be

<meta name="author" content="a &amp; b"/>

The same problem occurs with other special characters in author
declarations, and also in #+DATE: declarations.

This is breaking the "XHTML 1.0 Strict" claim.

- Pavel Panchekha

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

             reply	other threads:[~2011-09-26  6:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-26  6:24 Pavel Panchekha [this message]
2011-10-29 12:18 ` Bug in HTML export Bastien
  -- strict thread matches above, loose matches on Subject: below --
2011-05-15 18:55 bug " Samuel Wales

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='CAE4=OQ-S4cpQE7pzpn+qR0H8od728O10-CqXdA1W=TnNh_5=aA@mail.gmail.com' \
    --to=me@pavpanchekha.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).