This is tangent to the original problem I described.
Max Nikulin <maniku...@gmail.com> 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. Also, https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types#texthtml says 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 > https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#charset 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 <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>