[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] DTD prohibited
From: |
Eric Abrahamsen |
Subject: |
Re: [O] DTD prohibited |
Date: |
Wed, 04 Jun 2014 17:04:14 +0800 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4.50 (gnu/linux) |
Eric S Fraga <address@hidden> 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:
>>
>> <?xml version="1.0" encoding="utf-8"?>
>>
>> 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" . "<?xml version=\"1.0\" encoding=\"%s\"?>")
> | ("php" . "<?php echo \"<?xml version=\\\"1.0\\\" encoding=\\\"%s\\\" ?>\";
> ?>"))
> |
> |
> | 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.