Debian Patches

Status for libhtml-tidy-perl/1.60-5

Patch Description Author Forwarded Bugs Origin Last update
tidy-not-tidyp.patch Look for tidy if tidyp is not found
tidy-html5 is an actively-maintained, HTML5-supporting variant of
the tidy library from which tidyp was forked.

Based on Debian-specific patches by Florian Schlichting and
gregor herrmann, which unconditionally switched from tidyp to tidy.
Simon McVittie <smcv@debian.org> no 2016-07-22
lib-ignore-tidy-html5-s-differently-formatted-summar.patch lib: ignore tidy-html5's differently-formatted summary line Simon McVittie <smcv@debian.org> no 2016-07-22
t-allow-tidy-html5-as-generator.patch t: allow tidy-html5 as generator Simon McVittie <smcv@debian.org> no 2016-07-22
t-use-a-pre-HTML5-DOCTYPE-to-get-warnings-about-unes.patch t: use a pre-HTML5 DOCTYPE to get warnings about unescaped ampersand
HTML5 defines an ampersand followed by whitespace to be unambiguously
an ampersand, matching what browsers have always done in practice.
As a result, tidy-html5 does not warn about them when the doctype
is either HTML5 or missing (lack of a DOCTYPE is treated as HTML5,
on the basis that HTML5 is a closer match for what browsers actually
do than any previous standard). Discussion here:
<https://github.com/htacg/tidy-html5/issues/207>

Adding the DOCTYPE throws off some of the line numbering, which needs
adjusting.

t/ignore-text.t also seems to rely on the missing DOCTYPE provoking a
warning, which is obviously not going to happen now that we've
added one, to be able to verify that case-insensitive ignoring
can work. Add a new error so we can ignore that instead.
Simon McVittie <smcv@debian.org> no 2016-07-22
t-unicode.t-don-t-assert-that-the-DOCTYPE-is-preserv.patch t/unicode.t: don't assert that the DOCTYPE is preserved
tidy-html5 currently doesn't preserve user-supplied DOCTYPEs
in output: <https://github.com/htacg/tidy-html5/issues/435>
Simon McVittie <smcv@debian.org> no 2016-07-22
t-don-t-assert-that-tidy-will-add-a-HTML-3.2-doctype.patch t: don't assert that tidy will add a HTML 3.2 doctype
tidy-html5 adds the HTML5 doctype, <!DOCTYPE html>.
Simon McVittie <smcv@debian.org> no 2016-07-22
t-venus.t-adjust-expected-result-for-tidy-html5.patch t/venus.t: adjust expected result for tidy-html5
tidy-html5 allows arbitrary block content inside <address>, whereas
traditional tidy only allowed inline content.

This change will break with traditional tidy, and it isn't clear
to me how to remain compatible with both.
Simon McVittie <smcv@debian.org> no 2016-07-22
fix-error-message-in-webtidy make webtidy error message more debianish Ryan Niebur <ryan@debian.org> not-needed 2009-06-02
tests-tidy-html5-5.6.patch adjust tests to tidy-html5 5.6 + 5.8 https://bugs.debian.org/1010114 gregor herrmann <gregoa@debian.org> no debian vendor 2022-07-14
tests-tidy-html5-5.8.patch Adjust t/roundtrip.t to tidy-html5 5.8 gregor herrmann <gregoa@debian.org> no debian 2022-07-14

All known versions for source package 'libhtml-tidy-perl'

Links