From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Panchekha Subject: Bug in HTML export Date: Mon, 26 Sep 2011 02:24:28 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=20cf307d04f639891904add23747 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:50238) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R84cV-0002lN-6h for emacs-orgmode@gnu.org; Mon, 26 Sep 2011 02:24:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R84cU-0006K0-4r for emacs-orgmode@gnu.org; Mon, 26 Sep 2011 02:24:51 -0400 Received: from mail-vw0-f41.google.com ([209.85.212.41]:58532) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R84cT-0006Jm-H3 for emacs-orgmode@gnu.org; Mon, 26 Sep 2011 02:24:50 -0400 Received: by vws16 with SMTP id 16so7409028vws.0 for ; Sun, 25 Sep 2011 23:24:48 -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 --20cf307d04f639891904add23747 Content-Type: text/plain; charset=UTF-8 Ampersands in #+AUTHOR: declarations are not correctly escaped by Org-mode. To reproduce, export: #+AUTHOR: a & b You'll find the line in the output, but it should be 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 --20cf307d04f639891904add23747 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Ampersands in #+AUTHOR:= declarations are not correctly escaped by Org-mode.

To repro= duce, export:

#+AUTHOR: a & b

You'll find the line

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

in th= e output, but it should be

<meta name=3D"author" content=3D"a &am= p; b"/>

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

This is breaking the "XHTML 1.0 Strict" claim.

- Pavel Panchekha

--20cf307d04f639891904add23747--