From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: emacs-orgmode@gnu.org
Subject: Re: DTD prohibited
Date: Wed, 04 Jun 2014 17:04:14 +0800 [thread overview]
Message-ID: <87ioohuju9.fsf@ericabrahamsen.net> (raw)
In-Reply-To: 87a99tm8cw.fsf@ucl.ac.uk
Eric S Fraga <e.fraga@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.
next prev parent reply other threads:[~2014-06-04 9:01 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-02 10:40 DTD prohibited AW
2014-06-02 11:33 ` Bastien
2014-06-03 0:34 ` James Harkins
2014-06-03 20:14 ` AW
2014-06-04 7:39 ` Eric S Fraga
2014-06-04 9:04 ` Eric Abrahamsen [this message]
2014-06-04 16:52 ` AW
2014-06-05 13:54 ` Rick Frankel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ioohuju9.fsf@ericabrahamsen.net \
--to=eric@ericabrahamsen.net \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.