From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: DTD prohibited Date: Wed, 04 Jun 2014 17:04:14 +0800 Message-ID: <87ioohuju9.fsf@ericabrahamsen.net> References: <6613507.WMGd5MBtyv@linux-j9m3.site> <87vbsjczqg.fsf@bzg.ath.cx> <1967784.ejinsfKyYN@linux-j9m3.site> <87a99tm8cw.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49403) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ws744-00011J-OB for emacs-orgmode@gnu.org; Wed, 04 Jun 2014 05:01:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ws73y-0001NG-7U for emacs-orgmode@gnu.org; Wed, 04 Jun 2014 05:00:56 -0400 Received: from plane.gmane.org ([80.91.229.3]:51421) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ws73y-0001N3-1A for emacs-orgmode@gnu.org; Wed, 04 Jun 2014 05:00:50 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ws73w-0003SW-Iz for emacs-orgmode@gnu.org; Wed, 04 Jun 2014 11:00:48 +0200 Received: from 123.123.20.225 ([123.123.20.225]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 04 Jun 2014 11:00:48 +0200 Received: from eric by 123.123.20.225 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 04 Jun 2014 11:00:48 +0200 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 Eric S Fraga writes: > On Tuesday, 3 Jun 2014 at 22:14, AW wrote: > > [...] > >> Hi, >> >> thank you, I started again digging into this strange thing and the culprit >> seems the first line of the html-file: >> >> >> >> If I remove this line, no error. And removing simply > > Have a look at > > ,----[ C-h v org-html-xml-declaration RET ] > | org-html-xml-declaration is a variable defined in `ox-html.el'. > | Its value is > | (("html" . "") > | ("php" . "\"; ?>")) > | > | > | Documentation: > | The extension for exported HTML files. > | %s will be replaced with the charset of the exported file. > | This may be a string, or an alist with export extensions > | and corresponding declarations. > | > | This declaration only applies when exporting to XHTML. > | > | You can customize this variable. > | > | [back] Seems like simply exporting as html5 might solve the problem.