emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] DTD prohibited


From: Eric S Fraga
Subject: Re: [O] DTD prohibited
Date: Wed, 4 Jun 2014 08:39:27 +0100
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.3 (gnu/linux)

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]
`----
-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.3.1, Org release_8.2.6-1133-ga5c863



reply via email to

[Prev in Thread] Current Thread [Next in Thread]