From bbc1c2e6004871d09b526c4b156f613111e0a300 Mon Sep 17 00:00:00 2001 From: "Geoff R. McLane" Date: Wed, 9 Sep 2015 14:29:48 +0200 Subject: [PATCH] Add report-5.1.8.txt, with details of changes --- test/report-5.1.8.txt | 713 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 713 insertions(+) create mode 100644 test/report-5.1.8.txt diff --git a/test/report-5.1.8.txt b/test/report-5.1.8.txt new file mode 100644 index 0000000..53f7cd5 --- /dev/null +++ b/test/report-5.1.8.txt @@ -0,0 +1,713 @@ +20150909: 'testbase' change report + +The current version of Tidy library is 5.1.8. It +contains a number of fixes, and message changes +the effects the 'test' output in 'testbase' + +The files changed were : + +testbase/msg_1053626.txt +testbase/msg_1098012.txt +testbase/msg_1316307-2.txt +testbase/msg_1326520.txt +testbase/msg_1331849.txt +testbase/msg_427662.txt +testbase/msg_427820.txt +testbase/msg_427836.txt +testbase/msg_431895.txt +testbase/msg_433012.txt +testbase/msg_433021.txt +testbase/msg_433666.txt +testbase/msg_435919.txt +testbase/msg_435920.txt +testbase/msg_505770.txt +testbase/msg_511679.txt +testbase/msg_588061.txt +testbase/msg_590716.txt +testbase/msg_647900.txt +testbase/msg_676205.txt +testbase/msg_678268.txt + +testbase/out_1503897.html +testbase/out_431721.html +testbase/out_435923.html +testbase/out_443362.html +testbase/out_500236.html +testbase/out_504206.html +testbase/out_505770.html +testbase/out_511679.html +testbase/out_588061.html +testbase/out_620531.html +testbase/out_640473.html +testbase/out_656889.html +testbase/out_658230.html +testbase/out_661606.html +testbase/out_676205.html + +There were just 21 of 227 message text files changed, +and just 15 of 220 html outputs changed. + +After reviewing every case, the changes seem 'better', +so are deemed all acceptable changes. + +Hence 'testbase' has been updated to this version. + +Below is a FULL `diff -u` of the changes for further +reviewing (some non-utf-8 chars deleted) - + +========================================================= +diff -u tempbase/msg_1053626.txt testbase/msg_1053626.txt +--- tempbase/msg_1053626.txt 2015-06-09 16:11:19.000000000 +0200 ++++ testbase/msg_1053626.txt 2015-09-09 13:52:00.000000000 +0200 +@@ -7,11 +7,25 @@ + line 6 column 1 - Warning: missing + line 5 column 1 - Warning: missing + line 3 column 1 - Warning: inserting missing 'title' element ++line 6 column 1 - Warning: lacks "summary" attribute + line 7 column 1 - Warning: trimming empty + Info: Doctype given is "-//W3C//DTD HTML 4.01//EN" + Info: Document content looks like HTML 4.01 Transitional + Info: No system identifier in emitted doctype +-9 warnings, 0 errors were found! ++10 warnings, 0 errors were found! ++ ++The table summary attribute should be used to describe ++the table structure. It is very helpful for people using ++non-visual browsers. The scope and headers attributes for ++table cells are useful for specifying which headers apply ++to each table cell, enabling non-visual browsers to provide ++a meaningful context for each cell. ++ ++For further advice on how to make your pages accessible ++see http://www.w3.org/WAI/GL. ++. You may also want to try ++"http://www.cast.org/bobby/" which is a free Web-based ++service for checking URLs for accessibility. + + About HTML Tidy: https://github.com/htacg/tidy-html5 + Bug reports and comments: https://github.com/htacg/tidy-html5/issues +diff -u tempbase/msg_1098012.txt testbase/msg_1098012.txt +--- tempbase/msg_1098012.txt 2015-06-09 16:11:19.000000000 +0200 ++++ testbase/msg_1098012.txt 2015-09-09 13:52:00.000000000 +0200 +@@ -6,12 +6,26 @@ + line 6 column 1 - Warning: missing </table> + line 5 column 1 - Warning: missing </dl> + line 3 column 1 - Warning: inserting missing 'title' element ++line 6 column 1 - Warning: <table> lacks "summary" attribute + line 7 column 1 - Warning: trimming empty <noframes> + line 6 column 1 - Warning: trimming empty <table> + Info: Doctype given is "-//W3C//DTD HTML 4.01//EN" + Info: Document content looks like HTML 4.01 Transitional + Info: No system identifier in emitted doctype +-9 warnings, 0 errors were found! ++10 warnings, 0 errors were found! ++ ++The table summary attribute should be used to describe ++the table structure. It is very helpful for people using ++non-visual browsers. The scope and headers attributes for ++table cells are useful for specifying which headers apply ++to each table cell, enabling non-visual browsers to provide ++a meaningful context for each cell. ++ ++For further advice on how to make your pages accessible ++see http://www.w3.org/WAI/GL. ++. You may also want to try ++"http://www.cast.org/bobby/" which is a free Web-based ++service for checking URLs for accessibility. + + About HTML Tidy: https://github.com/htacg/tidy-html5 + Bug reports and comments: https://github.com/htacg/tidy-html5/issues +diff -u tempbase/msg_1316307-2.txt testbase/msg_1316307-2.txt +--- tempbase/msg_1316307-2.txt 2015-06-09 16:11:19.000000000 +0200 ++++ testbase/msg_1316307-2.txt 2015-09-09 13:52:00.000000000 +0200 +@@ -1,11 +1,25 @@ + line 7 column 1 - Warning: <ul> isn't allowed in <tr> elements + line 6 column 1 - Info: <tr> previously mentioned + line 11 column 1 - Warning: discarding unexpected </ul> ++line 5 column 1 - Warning: <table> lacks "summary" attribute + line 7 column 1 - Warning: trimming empty <ul> + Info: Doctype given is "-//W3C//DTD HTML 4.0 Transitional//EN" + Info: Document content looks like HTML 4.01 Strict + Info: No system identifier in emitted doctype +-3 warnings, 0 errors were found! ++4 warnings, 0 errors were found! ++ ++The table summary attribute should be used to describe ++the table structure. It is very helpful for people using ++non-visual browsers. The scope and headers attributes for ++table cells are useful for specifying which headers apply ++to each table cell, enabling non-visual browsers to provide ++a meaningful context for each cell. ++ ++For further advice on how to make your pages accessible ++see http://www.w3.org/WAI/GL. ++. You may also want to try ++"http://www.cast.org/bobby/" which is a free Web-based ++service for checking URLs for accessibility. + + About HTML Tidy: https://github.com/htacg/tidy-html5 + Bug reports and comments: https://github.com/htacg/tidy-html5/issues +diff -u tempbase/msg_1326520.txt testbase/msg_1326520.txt +--- tempbase/msg_1326520.txt 2015-06-09 16:11:19.000000000 +0200 ++++ testbase/msg_1326520.txt 2015-09-09 13:52:00.000000000 +0200 +@@ -2,9 +2,10 @@ + line 12 column 7 - Warning: <center> isn't allowed in <tr> elements + line 11 column 5 - Info: <tr> previously mentioned + line 12 column 7 - Warning: missing </center> before <td> ++line 10 column 5 - Warning: The summary attribute on the <table> element is obsolete in HTML5 + line 12 column 7 - Warning: trimming empty <center> + Info: Document content looks like HTML5 +-4 warnings, 0 errors were found! ++5 warnings, 0 errors were found! + + About HTML Tidy: https://github.com/htacg/tidy-html5 + Bug reports and comments: https://github.com/htacg/tidy-html5/issues +diff -u tempbase/msg_1331849.txt testbase/msg_1331849.txt +--- tempbase/msg_1331849.txt 2015-06-09 16:11:19.000000000 +0200 ++++ testbase/msg_1331849.txt 2015-09-09 13:52:00.000000000 +0200 +@@ -1,10 +1,25 @@ + line 9 column 1 - Warning: <tr> isn't allowed in <body> elements + line 6 column 1 - Info: <body> previously mentioned + line 9 column 1 - Warning: inserting implicit <table> ++line 9 column 1 - Warning: <table> lacks "summary" attribute ++line 29 column 1 - Warning: <table> lacks "summary" attribute + Info: Doctype given is "-//W3C//DTD HTML 4.0 Transitional//EN" + Info: Document content looks like HTML 4.01 Transitional + Info: No system identifier in emitted doctype +-2 warnings, 0 errors were found! ++4 warnings, 0 errors were found! ++ ++The table summary attribute should be used to describe ++the table structure. It is very helpful for people using ++non-visual browsers. The scope and headers attributes for ++table cells are useful for specifying which headers apply ++to each table cell, enabling non-visual browsers to provide ++a meaningful context for each cell. ++ ++For further advice on how to make your pages accessible ++see http://www.w3.org/WAI/GL. ++. You may also want to try ++"http://www.cast.org/bobby/" which is a free Web-based ++service for checking URLs for accessibility. + + About HTML Tidy: https://github.com/htacg/tidy-html5 + Bug reports and comments: https://github.com/htacg/tidy-html5/issues +diff -u tempbase/msg_427662.txt testbase/msg_427662.txt +--- tempbase/msg_427662.txt 2015-06-09 16:11:19.000000000 +0200 ++++ testbase/msg_427662.txt 2015-09-09 13:51:59.000000000 +0200 +@@ -1,8 +1,9 @@ + line 1 column 1 - Warning: missing <!DOCTYPE> declaration + line 7 column 1 - Warning: <a> isn't allowed in <table> elements + line 6 column 1 - Info: <table> previously mentioned ++line 6 column 1 - Warning: The summary attribute on the <table> element is obsolete in HTML5 + Info: Document content looks like HTML5 +-2 warnings, 0 errors were found! ++3 warnings, 0 errors were found! + + You are recommended to use CSS to specify the font and + properties such as its size and color. This will reduce +diff -u tempbase/msg_427820.txt testbase/msg_427820.txt +--- tempbase/msg_427820.txt 2015-06-09 16:11:19.000000000 +0200 ++++ testbase/msg_427820.txt 2015-09-09 13:51:59.000000000 +0200 +@@ -1,6 +1,7 @@ + line 1 column 1 - Warning: missing <!DOCTYPE> declaration ++line 6 column 10 - Warning: The summary attribute on the <table> element is obsolete in HTML5 + Info: Document content looks like HTML5 +-1 warning, 0 errors were found! ++2 warnings, 0 errors were found! + + About HTML Tidy: https://github.com/htacg/tidy-html5 + Bug reports and comments: https://github.com/htacg/tidy-html5/issues +diff -u tempbase/msg_427836.txt testbase/msg_427836.txt +--- tempbase/msg_427836.txt 2015-06-09 16:11:19.000000000 +0200 ++++ testbase/msg_427836.txt 2015-09-09 13:51:59.000000000 +0200 +@@ -1,10 +1,11 @@ + line 2 column 1 - Warning: missing <!DOCTYPE> declaration ++line 2 column 1 - Warning: inserting implicit <body> + line 3 column 17 - Warning: <img> discarding newline in URI reference + line 2 column 1 - Warning: inserting missing 'title' element + line 3 column 17 - Warning: <img> escaping malformed URI reference + line 3 column 17 - Warning: <img> lacks "alt" attribute + Info: Document content looks like HTML5 +-5 warnings, 0 errors were found! ++6 warnings, 0 errors were found! + + URIs must be properly escaped, they must not contain unescaped + characters below U+0021 including the space character and not +diff -u tempbase/msg_431895.txt testbase/msg_431895.txt +--- tempbase/msg_431895.txt 2015-06-09 16:11:19.000000000 +0200 ++++ testbase/msg_431895.txt 2015-09-09 13:51:59.000000000 +0200 +@@ -1,2 +1,2 @@ +-input\in_431895.html:17:14: Warning: adjacent hyphens within comment +-input\in_431895.html:32:1: Warning: trimming empty <p> ++./input/in_431895.html:17:14: Warning: adjacent hyphens within comment ++./input/in_431895.html:32:1: Warning: trimming empty <p> +diff -u tempbase/msg_433012.txt testbase/msg_433012.txt +--- tempbase/msg_433012.txt 2015-06-09 16:11:19.000000000 +0200 ++++ testbase/msg_433012.txt 2015-09-09 13:51:59.000000000 +0200 +@@ -503,9 +503,7 @@ + line 784 column 34 - Warning: unescaped & or unknown entity "&rsaquo" + line 790 column 17 - Warning: unescaped & or unknown entity "&euro" + line 790 column 32 - Warning: unescaped & or unknown entity "&euro" +-line 798 column 2 - Warning: named entity &apos; only defined in XML/XHTML + line 798 column 17 - Warning: entity "&apos" doesn't end in ';' +-line 798 column 27 - Warning: named entity &apos; only defined in XML/XHTML + line 798 column 32 - Warning: entity "&apos" doesn't end in ';' + line 801 column 17 - Warning: unescaped & or unknown entity "&foo" + line 801 column 31 - Warning: unescaped & or unknown entity "&foo" +@@ -608,7 +606,7 @@ + line 695 column 2 - Warning: <a> escaping malformed URI reference + line 698 column 2 - Warning: <a> escaping malformed URI reference + Info: Document content looks like HTML5 +-609 warnings, 0 errors were found! ++607 warnings, 0 errors were found! + + URIs must be properly escaped, they must not contain unescaped + characters below U+0021 including the space character and not +diff -u tempbase/msg_433021.txt testbase/msg_433021.txt +--- tempbase/msg_433021.txt 2015-06-09 16:11:19.000000000 +0200 ++++ testbase/msg_433021.txt 2015-09-09 13:51:59.000000000 +0200 +@@ -1,11 +1,12 @@ + line 1 column 1 - Warning: missing <!DOCTYPE> declaration + line 6 column 1 - Warning: <p> attribute "align" has invalid value "fizzle" ++line 7 column 1 - Warning: The summary attribute on the <table> element is obsolete in HTML5 + line 9 column 1 - Warning: <td> attribute "valign" has invalid value "center" + line 11 column 1 - Warning: <td> attribute "valign" has invalid value "fuzzle" + line 13 column 1 - Warning: <td> attribute "align" has invalid value "fuzzle" + line 13 column 1 - Warning: <td> attribute "valign" has invalid value "fuzzle" + Info: Document content looks like HTML5 +-6 warnings, 0 errors were found! ++7 warnings, 0 errors were found! + + About HTML Tidy: https://github.com/htacg/tidy-html5 + Bug reports and comments: https://github.com/htacg/tidy-html5/issues +diff -u tempbase/msg_433666.txt testbase/msg_433666.txt +--- tempbase/msg_433666.txt 2015-06-09 16:11:19.000000000 +0200 ++++ testbase/msg_433666.txt 2015-09-09 13:51:59.000000000 +0200 +@@ -1,7 +1,8 @@ + line 1 column 1 - Warning: missing <!DOCTYPE> declaration + line 4 column 1 - Warning: <table> dropping value "right" for repeated attribute "align" ++line 4 column 1 - Warning: The summary attribute on the <table> element is obsolete in HTML5 + Info: Document content looks like HTML5 +-2 warnings, 0 errors were found! ++3 warnings, 0 errors were found! + + About HTML Tidy: https://github.com/htacg/tidy-html5 + Bug reports and comments: https://github.com/htacg/tidy-html5/issues +diff -u tempbase/msg_435919.txt testbase/msg_435919.txt +--- tempbase/msg_435919.txt 2015-06-09 16:11:19.000000000 +0200 ++++ testbase/msg_435919.txt 2015-09-09 13:51:59.000000000 +0200 +@@ -1,7 +1,6 @@ + line 1 column 1 - Warning: missing <!DOCTYPE> declaration +-line 6 column 1 - Warning: nested q elements, possible typo. + Info: Document content looks like HTML5 +-2 warnings, 0 errors were found! ++1 warning, 0 errors were found! + + About HTML Tidy: https://github.com/htacg/tidy-html5 + Bug reports and comments: https://github.com/htacg/tidy-html5/issues +diff -u tempbase/msg_435920.txt testbase/msg_435920.txt +--- tempbase/msg_435920.txt 2015-06-09 16:11:19.000000000 +0200 ++++ testbase/msg_435920.txt 2015-09-09 13:51:59.000000000 +0200 +@@ -1,6 +1,7 @@ + line 1 column 1 - Warning: missing <!DOCTYPE> declaration ++line 7 column 1 - Warning: The summary attribute on the <table> element is obsolete in HTML5 + Info: Document content looks like HTML5 +-1 warning, 0 errors were found! ++2 warnings, 0 errors were found! + + You are recommended to use CSS to specify the font and + properties such as its size and color. This will reduce +diff -u tempbase/msg_505770.txt testbase/msg_505770.txt +--- tempbase/msg_505770.txt 2015-06-09 16:11:19.000000000 +0200 ++++ testbase/msg_505770.txt 2015-09-09 13:52:00.000000000 +0200 +@@ -1,8 +1,6 @@ + line 1 column 1 - Warning: missing <!DOCTYPE> declaration +-line 29 column 37 - Warning: unescaped & which should be written as &amp; +-line 30 column 37 - Warning: unescaped & which should be written as &amp; + Info: Document content looks like HTML5 +-3 warnings, 0 errors were found! ++1 warning, 0 errors were found! + + About HTML Tidy: https://github.com/htacg/tidy-html5 + Bug reports and comments: https://github.com/htacg/tidy-html5/issues +diff -u tempbase/msg_511679.txt testbase/msg_511679.txt +--- tempbase/msg_511679.txt 2015-06-09 16:11:19.000000000 +0200 ++++ testbase/msg_511679.txt 2015-09-09 13:52:00.000000000 +0200 +@@ -1,8 +1,9 @@ + line 1 column 1 - Warning: missing <!DOCTYPE> declaration + line 2 column 1 - Warning: inserting implicit <body> + line 4 column 7 - Warning: missing </pre> before </td> ++line 2 column 1 - Warning: The summary attribute on the <table> element is obsolete in HTML5 + Info: Document content looks like HTML5 +-3 warnings, 0 errors were found! ++4 warnings, 0 errors were found! + + About HTML Tidy: https://github.com/htacg/tidy-html5 + Bug reports and comments: https://github.com/htacg/tidy-html5/issues +diff -u tempbase/msg_588061.txt testbase/msg_588061.txt +--- tempbase/msg_588061.txt 2015-06-09 16:11:19.000000000 +0200 ++++ testbase/msg_588061.txt 2015-09-09 13:52:00.000000000 +0200 +@@ -7,7 +7,6 @@ + line 20 column 9 - Warning: missing </strong> before <h1> + line 23 column 1 - Warning: inserting implicit <strong> + line 25 column 96 - Warning: unescaped & or unknown entity "&body" +-line 43 column 128 - Warning: unescaped & which should be written as &amp; + line 23 column 1 - Warning: replacing unexpected font by </font> + line 66 column 104 - Warning: unescaped & or unknown entity "&city" + line 66 column 5 - Warning: missing </strong> before <h2> +@@ -26,11 +25,8 @@ + line 138 column 237 - Warning: unescaped & or unknown entity "&body" + line 142 column 237 - Warning: unescaped & or unknown entity "&body" + line 168 column 280 - Warning: unescaped & or unknown entity "&body" +-line 188 column 76 - Warning: unescaped & which should be written as &amp; + line 196 column 153 - Warning: discarding unexpected </a> + line 200 column 339 - Warning: unescaped & or unknown entity "&body" +-line 216 column 90 - Warning: unescaped & which should be written as &amp; +-line 240 column 67 - Warning: unescaped & which should be written as &amp; + line 248 column 281 - Warning: unescaped & or unknown entity "&body" + line 300 column 177 - Warning: discarding unexpected </a> + line 314 column 1 - Warning: inserting implicit <strong> +@@ -101,7 +97,7 @@ + line 200 column 176 - Warning: <a> cannot copy name attribute to id + line 248 column 94 - Warning: <a> cannot copy name attribute to id + Info: Document content looks like HTML5 +-100 warnings, 0 errors were found! ++96 warnings, 0 errors were found! + + URIs must be properly escaped, they must not contain unescaped + characters below U+0021 including the space character and not +diff -u tempbase/msg_590716.txt testbase/msg_590716.txt +--- tempbase/msg_590716.txt 2015-06-09 16:11:19.000000000 +0200 ++++ testbase/msg_590716.txt 2015-09-09 13:52:00.000000000 +0200 +@@ -1,10 +1,8 @@ + line 1 column 1 - Warning: missing <!DOCTYPE> declaration +-line 796 column 2 - Warning: named entity &apos; only defined in XML/XHTML +-line 796 column 28 - Warning: named entity &apos; only defined in XML/XHTML + line 799 column 17 - Warning: unescaped & or unknown entity "&foo" + line 799 column 32 - Warning: unescaped & or unknown entity "&foo" + Info: Document content looks like HTML5 +-5 warnings, 0 errors were found! ++3 warnings, 0 errors were found! + + About HTML Tidy: https://github.com/htacg/tidy-html5 + Bug reports and comments: https://github.com/htacg/tidy-html5/issues +diff -u tempbase/msg_647900.txt testbase/msg_647900.txt +--- tempbase/msg_647900.txt 2015-06-09 16:11:19.000000000 +0200 ++++ testbase/msg_647900.txt 2015-09-09 13:52:00.000000000 +0200 +@@ -3,8 +3,12 @@ + line 29 column 11 - Error: discarding unexpected </form> + line 29 column 18 - Error: discarding unexpected </td> + line 25 column 3 - Warning: missing </form> ++line 6 column 3 - Warning: The summary attribute on the <table> element is obsolete in HTML5 ++line 13 column 3 - Warning: The summary attribute on the <table> element is obsolete in HTML5 ++line 18 column 5 - Warning: The summary attribute on the <table> element is obsolete in HTML5 ++line 26 column 5 - Warning: The summary attribute on the <table> element is obsolete in HTML5 + Info: Document content looks like HTML5 +-3 warnings, 2 errors were found! ++7 warnings, 2 errors were found! + + You may need to move one or both of the <form> and </form> + tags. HTML elements should be properly nested and form elements +diff -u tempbase/msg_676205.txt testbase/msg_676205.txt +--- tempbase/msg_676205.txt 2015-06-09 16:11:19.000000000 +0200 ++++ testbase/msg_676205.txt 2015-09-09 13:52:00.000000000 +0200 +@@ -1,12 +1,12 @@ +-line 11 column 1 - Warning: <img> discarding newline in URI reference +-line 11 column 1 - Warning: <img> discarding newline in URI reference +-line 11 column 1 - Warning: <img> discarding newline in URI reference +-line 14 column 1 - Warning: <img> end of file while parsing attributes +-line 11 column 1 - Warning: <img> escaping malformed URI reference +-line 11 column 1 - Warning: <img> lacks "alt" attribute +-Info: Doctype given is "-//W3C//DTD XHTML 1.0 Transitional//EN" +-Info: Document content looks like XHTML 1.0 Transitional +-6 warnings, 0 errors were found! ++line 3 column 1 - Warning: missing <!DOCTYPE> declaration ++line 8 column 3 - Warning: <img> discarding newline in URI reference ++line 8 column 3 - Warning: <img> discarding newline in URI reference ++line 8 column 3 - Warning: <img> discarding newline in URI reference ++line 11 column 1 - Warning: <img> end of file while parsing attributes ++line 8 column 3 - Warning: <img> escaping malformed URI reference ++line 8 column 3 - Warning: <img> lacks "alt" attribute ++Info: Document content looks like XHTML5 ++7 warnings, 0 errors were found! + + URIs must be properly escaped, they must not contain unescaped + characters below U+0021 including the space character and not +diff -u tempbase/msg_678268.txt testbase/msg_678268.txt +--- tempbase/msg_678268.txt 2015-06-09 16:11:19.000000000 +0200 ++++ testbase/msg_678268.txt 2015-09-09 13:52:00.000000000 +0200 +@@ -4,8 +4,22 @@ + line 12 column 1 - Warning: inserting implicit <body> + line 1 column 1 - Warning: <html> proprietary attribute "xmlns:msxsl" + line 1 column 1 - Warning: <html> proprietary attribute "xmlns:user" ++line 12 column 1 - Warning: <table> lacks "summary" attribute + Info: Document content looks like XHTML5 +-6 warnings, 0 errors were found! ++7 warnings, 0 errors were found! ++ ++The table summary attribute should be used to describe ++the table structure. It is very helpful for people using ++non-visual browsers. The scope and headers attributes for ++table cells are useful for specifying which headers apply ++to each table cell, enabling non-visual browsers to provide ++a meaningful context for each cell. ++ ++For further advice on how to make your pages accessible ++see http://www.w3.org/WAI/GL. ++. You may also want to try ++"http://www.cast.org/bobby/" which is a free Web-based ++service for checking URLs for accessibility. + + About HTML Tidy: https://github.com/htacg/tidy-html5 + Bug reports and comments: https://github.com/htacg/tidy-html5/issues +diff -u tempbase/out_1503897.html testbase/out_1503897.html +--- tempbase/out_1503897.html 2015-06-09 16:11:19.000000000 +0200 ++++ testbase/out_1503897.html 2015-09-09 13:52:00.000000000 +0200 +@@ -5,11 +5,9 @@ + </head> + <body> + <pre> +- PrintString(" +-</pre>\n"); ++ PrintString("</pre>\n"); + <pre> +- PrintString(" +-</pre>\n"); ++ PrintString("</pre>\n"); + <table> + <tr> + <td></td> +diff -u tempbase/out_431721.html testbase/out_431721.html +--- tempbase/out_431721.html 2015-06-09 16:11:19.000000000 +0200 ++++ testbase/out_431721.html 2015-09-09 13:51:59.000000000 +0200 +@@ -25,9 +25,9 @@ + </ul> + <p>&nbsp;</p> + <p>Joe-Bob joined the Firm in 1995 after 15 years with the +- Kansas City firm of Fish, Gill, Smoker &amp; Butts, where he +- was a Shareholder/Director.&nbsp; John is a past Chair of the +- Estate Planning, Probate and Trust Committee of the Kansas City ++ Kansas City firm of Fish, Gill, Smoker & Butts, where he was a ++ Shareholder/Director.&nbsp; John is a past Chair of the Estate ++ Planning, Probate and Trust Committee of the Kansas City + Metropolitan Bar Association and co-authored the Drinking + Procedures Manual for County Practitioners.&nbsp; Currently, JB + is a member of the Missouri Bar Probate and Trust Committee, +diff -u tempbase/out_435923.html testbase/out_435923.html +--- tempbase/out_435923.html 2015-06-09 16:11:19.000000000 +0200 ++++ testbase/out_435923.html 2015-09-09 13:51:59.000000000 +0200 +@@ -4,8 +4,6 @@ + <title>[ #435923 ] Preserve case of attribute names</title> + </head> + <body> +- <textarea> +-Blah Blah Blah +-</textarea> ++ <textarea>Blah Blah Blah</textarea> + </body> + </html> +diff -u tempbase/out_443362.html testbase/out_443362.html +--- tempbase/out_443362.html 2015-06-09 16:11:19.000000000 +0200 ++++ testbase/out_443362.html 2015-09-09 13:51:59.000000000 +0200 +@@ -17,8 +17,7 @@ + <p>Your XHTML document contains a document type declaration but + the system identifier points at some non-W3C URI. Your document + probably contains something like this:</p> +- <pre> +- ++ <pre> + + + </pre> +diff -u tempbase/out_500236.html testbase/out_500236.html +--- tempbase/out_500236.html 2015-06-09 16:11:19.000000000 +0200 ++++ testbase/out_500236.html 2015-09-09 13:51:59.000000000 +0200 +@@ -1,5 +1,5 @@ +-<!-- use "==word-2000 yes -xml" on command line --> +-<!-- Test case for MS Access files failing with Error: missing quote mark for attribute value --> +-<PARAM NAME="XMLData" +-VALUE="&lt;xml xmlns:a=&quot;urn:schemas-microsoft-com:office:access&quot;&gt; + &lt;a:something&gt;&lt;/a:something&gt;&lt;a:something&gt;&lt;/a:something&gt;&lt;/xml&gt;'&quot;"> +-</PARAM> ++<!-- use "==word-2000 yes -xml" on command line --> ++<!-- Test case for MS Access files failing with Error: missing quote mark for attribute value --> ++<PARAM NAME="XMLData" ++VALUE="&lt;xml xmlns:a=&quot;urn:schemas-microsoft-com:office:access&quot;&gt; + &lt;a:something&gt;&lt;/a:something&gt;&lt;a:something&gt;&lt;/a:something&gt;&lt;/xml&gt;'&quot;"> ++</PARAM> +diff -u tempbase/out_504206.html testbase/out_504206.html +--- tempbase/out_504206.html 2015-06-09 16:11:19.000000000 +0200 ++++ testbase/out_504206.html 2015-09-09 13:52:00.000000000 +0200 +@@ -158,19 +158,16 @@ + <p><strong>Stengths (class/instructor):</strong><br> + <textarea rows="5" + cols="60" +- name="STRENGTHS"> +-</textarea><br></p> ++ name="STRENGTHS"></textarea><br></p> + <p><strong>Weaknesses (class/instructor):</strong><br> + <textarea rows="5" + cols="60" +- name="WEAKNESSES"> +-</textarea><br></p> ++ name="WEAKNESSES"></textarea><br></p> + <p><strong>Suggestions for improvement (class/instructor; NOTE: + This field is REQUIRED):</strong><br> + <textarea rows="5" + cols="60" +- name="SUGGESTIONS"> +-</textarea><br></p> ++ name="SUGGESTIONS"></textarea><br></p> + <p><input type="submit" + value="Send"> <input type="reset" + value="Clear Form"></p> +diff -u tempbase/out_505770.html testbase/out_505770.html +--- tempbase/out_505770.html 2015-06-09 16:11:19.000000000 +0200 ++++ testbase/out_505770.html 2015-09-09 13:52:00.000000000 +0200 +@@ -39,8 +39,7 @@ + rows="5" + cols="28" + title="Selected Card Text" +- name="cardtext"> +-Selected Card Text ++ name="cardtext">Selected Card Text + </textarea><br> + <input type="button" + value="Discard &amp; Draw"><br> +diff -u tempbase/out_511679.html testbase/out_511679.html +--- tempbase/out_511679.html 2015-06-09 16:11:19.000000000 +0200 ++++ testbase/out_511679.html 2015-09-09 13:52:00.000000000 +0200 +@@ -8,9 +8,7 @@ + <table summary="No end tag for PRE"> + <tr> + <td> +- <pre> +-<span class="foo">foo</span> +-</pre> ++ <pre><span class="foo">foo</span></pre> + </td> + </tr> + </table> +diff -u tempbase/out_588061.html testbase/out_588061.html +--- tempbase/out_588061.html 2015-06-09 16:11:19.000000000 +0200 ++++ testbase/out_588061.html 2015-09-09 13:52:00.000000000 +0200 +@@ -77,8 +77,8 @@ + STOCK!</span>**<br> + <br> + <span class="c6">**</span><span class="c1">NEW!</span> Europe +- MapSource: City Navigator, City Select, MetroGuide and Roads +- &amp; Recreation <span class="c1">IN STOCK!</span>**<br> ++ MapSource: City Navigator, City Select, MetroGuide and Roads & ++ Recreation <span class="c1">IN STOCK!</span>**<br> + <br> + <span class="c6">**</span><span class="c1">NEW!</span> We now + have <span class="c2">remanufactured</span> <a href= +@@ -317,7 +317,7 @@ + "c1">IN STOCK!</span><br> + <br> + <a class="c7" +- href="softwarereturn.html">*</a>U.S. Waterways &amp; Lights ++ href="softwarereturn.html">*</a>U.S. Waterways & Lights + MapSource....$60.00 <span class="c1">IN STOCK!</span><br> + <br> + <a href="http://www.garmin.com/products/streetPilot/" +@@ -356,9 +356,8 @@ + STOCK!</span><br> + <br> + <a class="c7" +- href="softwarereturn.html">*</a>MetroGuide Canada with Roads +- &amp; Recreation....$80.00 <span class="c1">IN +- STOCK!</span><br> ++ href="softwarereturn.html">*</a>MetroGuide Canada with Roads & ++ Recreation....$80.00 <span class="c1">IN STOCK!</span><br> + <br> + <a class="c7" + href="softwarereturn.html">*</a>City Navigator +@@ -381,7 +380,7 @@ + <span class="c1">IN STOCK!</span><br> + <br> + <a class="c7" +- href="softwarereturn.html">*</a>Roads &amp; Recreation ++ href="softwarereturn.html">*</a>Roads & Recreation + Europe....$85.00 <span class="c1">IN STOCK!</span><br> + <br> + <a class="c7" +diff -u tempbase/out_620531.html testbase/out_620531.html +--- tempbase/out_620531.html 2015-06-09 16:11:19.000000000 +0200 ++++ testbase/out_620531.html 2015-09-09 13:52:00.000000000 +0200 +@@ -5,8 +5,6 @@ + </head> + <body> + <p class="foo">foo</p> +- <pre> +-bar<br>baz +-</pre> ++ <pre>bar<br>baz</pre> + </body> + </html> +diff -u tempbase/out_640473.html testbase/out_640473.html +--- tempbase/out_640473.html 2015-06-09 16:11:19.000000000 +0200 ++++ testbase/out_640473.html 2015-09-09 13:52:00.000000000 +0200 +@@ -9,7 +9,6 @@ + <p>This is a test</p> + <zippo> + <baz> +- + This is a pre-formatted Baz! + </baz> + </body> +diff -u tempbase/out_656889.html testbase/out_656889.html +--- tempbase/out_656889.html 2015-06-09 16:11:19.000000000 +0200 ++++ testbase/out_656889.html 2015-09-09 13:52:00.000000000 +0200 +@@ -5,11 +5,9 @@ + </head> + <body> + <form action="foo"> +- <textarea name="txt1" rows="4" cols="40"> +-Blah Blah blah... ++ <textarea name="txt1" rows="4" cols="40">Blah Blah blah... + Blah Blah... +-Blah Blah Blah Blah. +-</textarea> ++Blah Blah Blah Blah.</textarea> + </form> + </body> + </html> +diff -u tempbase/out_658230.html testbase/out_658230.html +--- tempbase/out_658230.html 2015-06-09 16:11:19.000000000 +0200 ++++ testbase/out_658230.html 2015-09-09 13:52:00.000000000 +0200 +@@ -5,7 +5,7 @@ + </head> + <body> + <p>BIG-5</p> +-<p>Here are some entities: &amp; " 2</p> ++<p>Here are some entities: & " 2</p> +Binary files tempbase/out_661606.html and testbase/out_661606.html differ +diff -u tempbase/out_676205.html testbase/out_676205.html +--- tempbase/out_676205.html 2015-06-09 16:11:19.000000000 +0200 ++++ testbase/out_676205.html 2015-09-09 13:52:00.000000000 +0200 +@@ -1,14 +1,11 @@ +-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" +- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +-<html xmlns="http://www.w3.org/1999/xhtml" +- xml:lang="en" +- lang="en"> ++<!-- XHTML namespace declaration required to reproduce bug. ++--> ++<!DOCTYPE html> ++<html xmlns="http://www.w3.org/1999/xhtml"> + <head> +- <title>[ 676205 ] &lt;img src="&gt; crashes Tidy</title> +- <meta http-equiv="Content-Type" +- content="text/html; charset=iso-8859-1" /> ++ <title>[676205] &lt;img src="&gt; crashes Tidy</title> + </head> + <body> +- <img src="%3E%3C/body%3E%3C/html%3E" /> ++ <img src="%3E%20%3C/body%3E%20%3C/html%3E" /> + </body> + </html> +========================================================= +; eof +