ox-html content-type metadata (was: [BUG] ox-html output does not pass validation for html4-strict doctype [9.7-pre (release_9.6.23-1423-gcea6a1.dirty @ /home/yantar92/.emacs.d/straight/build/org/)])

2024-03-28 Thread Ihor Radchenko
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",

Re: [BUG] ox-html output does not pass validation for html4-strict doctype [9.7-pre (release_9.6.23-1423-gcea6a1.dirty @ /home/yantar92/.emacs.d/straight/build/org/)]

2024-03-27 Thread Max Nikulin
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",

[BUG] ox-html output does not pass validation for html4-strict doctype [9.7-pre (release_9.6.23-1423-gcea6a1.dirty @ /home/yantar92/.emacs.d/straight/build/org/)]

2024-03-25 Thread Ihor Radchenko
Setting (setq org-html-doctype "html4-strict") and exporting a trivial Org document (like the attached) to HTML fails to pass validation at https://validator.w3.org/ The error is Line 6, Column 72: character data is not allowed here using XHTML-style self-closing tags (such as ) in