Eric S Fraga <e.fr...@ucl.ac.uk> 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.