This is tangent to the original problem I described.

Max Nikulin <> writes:

> On 25/03/2024 18:18, Ihor Radchenko wrote:
>> I am wondering whether it is at all possible to use the same syntax and
>> yet pass validation for all the allowed values of `org-html-doctype':
>> "html4-strict", "html4-transitional", "html4-frameset", "xhtml-strict",
>> "xhtml-transitional", "xhtml-frameset", "xhtml-11", "html5", "xhtml5".
> Is it correct to use text/html for XHTML? I would expect 
> application/xhtml+xml, but it is better to check standard.

It is certainly not an error.


All HTML content should be served with this type. Alternative MIME types
for XHTML (like application/xhtml+xml) are mostly useless nowadays.

> For html5 my expectation is
>      <meta charset="utf-8">
> instead of http-equiv

What made you think that your expectation is not fulfilled by ox-html?

Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <>.
Support Org development at <>,
or support my work at <>

Reply via email to