tidy outputs spurious warnings for the Devmanual, like this one: line 128 column 1 - Warning: <ol> attribute "type" not allowed for HTML5 However, the type attribute type is perfectly valid in HTML 5: https://www.w3.org/TR/2014/NOTE-html5-diff-20141209/#changed-attributes The problem has been fixed upstream: https://github.com/htacg/tidy-html5/commit/e411ad0d2582471fe0961900b2789ee8b5b9cc4c
Created attachment 873196 [details, diff] htmltidy-5.8.0-ol-type.patch Patch from upstream, which fixes the problem for me.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31a4b6c93cc97cc69ee8c73120f09ceb4cebb786 commit 31a4b6c93cc97cc69ee8c73120f09ceb4cebb786 Author: Marek Szuba <marecki@gentoo.org> AuthorDate: 2023-10-22 10:34:57 +0000 Commit: Marek Szuba <marecki@gentoo.org> CommitDate: 2023-10-22 11:03:35 +0000 app-text/htmltidy: add upstream fix for <ol> attribute "type" in HTML5 Closes: https://bugs.gentoo.org/916074 Signed-off-by: Marek Szuba <marecki@gentoo.org> .../htmltidy/files/htmltidy-5.8.0-ol_type.patch | 29 +++++++++ app-text/htmltidy/htmltidy-5.8.0-r2.ebuild | 74 ++++++++++++++++++++++ 2 files changed, 103 insertions(+)