Yue Yi <[email protected]> writes: > Subject: [PATCH] ox-html: Fix W3C validation for html4-strict doctype > > * lisp/ox-html.el (org-html--build-meta-entry): Accept INFO argument > to dynamically determine the tag closing suffix based on doctype. > (org-html--build-meta-info): Pass INFO to `org-html--build-meta-entry'. > (org-html-checkbox): Dynamically strip the trailing slash from HTML > checkbox strings when the doctype is not XHTML. > * testing/lisp/test-ox-html.el > (ox-html/test-meta-tag-in-different-html-version): New test case to > verify meta tag rendering and closing behavior under different HTML/XHTML > flavors. > (ox-html/test-html-checkbox): New test case to verify HTML checkbox > closing behavior under different doctypes.
Thanks! Applied, onto main, also fixing the missed case with org-html-klipsify-src. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=31aa1ccc0 -- Ihor Radchenko // yantar92, Org mode maintainer, 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>
