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
+ line 5 column 1 - Warning: missing
+ line 3 column 1 - Warning: inserting missing 'title' element
++line 6 column 1 - Warning:
+ 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:
+ 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:
isn't allowed in
elements
+ line 11 column 5 - Info:
previously mentioned
+ line 12 column 7 - Warning: missing before
++line 10 column 5 - Warning: The summary attribute on the
element is obsolete in HTML5
+ line 12 column 7 - Warning: trimming empty
+ 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:
isn't allowed in elements
+ line 6 column 1 - Info: previously mentioned
+ line 9 column 1 - Warning: inserting implicit
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 declaration
+ line 7 column 1 - Warning: isn't allowed in
elements
+ line 6 column 1 - Info:
previously mentioned
++line 6 column 1 - Warning: The summary attribute on the
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 declaration
++line 6 column 10 - Warning: The summary attribute on the
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 declaration
++line 2 column 1 - Warning: inserting implicit
+ line 3 column 17 - Warning: discarding newline in URI reference
+ line 2 column 1 - Warning: inserting missing 'title' element
+ line 3 column 17 - Warning: escaping malformed URI reference
+ line 3 column 17 - Warning: 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
++./input/in_431895.html:17:14: Warning: adjacent hyphens within comment
++./input/in_431895.html:32:1: Warning: trimming empty
element is obsolete in HTML5
+ line 9 column 1 - Warning:
attribute "valign" has invalid value "center"
+ line 11 column 1 - Warning:
attribute "valign" has invalid value "fuzzle"
+ line 13 column 1 - Warning:
attribute "align" has invalid value "fuzzle"
+ line 13 column 1 - Warning:
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 declaration
+ line 4 column 1 - Warning:
dropping value "right" for repeated attribute "align"
++line 4 column 1 - Warning: The summary attribute on the
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 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 declaration
++line 7 column 1 - Warning: The summary attribute on the
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 declaration
+-line 29 column 37 - Warning: unescaped & which should be written as &
+-line 30 column 37 - Warning: unescaped & which should be written as &
+ 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 declaration
+ line 2 column 1 - Warning: inserting implicit
+ line 4 column 7 - Warning: missing before
++line 2 column 1 - Warning: The summary attribute on the
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 before
+ line 23 column 1 - Warning: inserting implicit
+ line 25 column 96 - Warning: unescaped & or unknown entity "&body"
+-line 43 column 128 - Warning: unescaped & which should be written as &
+ line 23 column 1 - Warning: replacing unexpected font by
+ line 66 column 104 - Warning: unescaped & or unknown entity "&city"
+ line 66 column 5 - Warning: missing before
element is obsolete in HTML5
++line 13 column 3 - Warning: The summary attribute on the
element is obsolete in HTML5
++line 18 column 5 - Warning: The summary attribute on the
element is obsolete in HTML5
++line 26 column 5 - Warning: The summary attribute on the
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
+ 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: discarding newline in URI reference
+-line 11 column 1 - Warning: discarding newline in URI reference
+-line 11 column 1 - Warning: discarding newline in URI reference
+-line 14 column 1 - Warning: end of file while parsing attributes
+-line 11 column 1 - Warning: escaping malformed URI reference
+-line 11 column 1 - Warning: 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 declaration
++line 8 column 3 - Warning: discarding newline in URI reference
++line 8 column 3 - Warning: discarding newline in URI reference
++line 8 column 3 - Warning: discarding newline in URI reference
++line 11 column 1 - Warning: end of file while parsing attributes
++line 8 column 3 - Warning: escaping malformed URI reference
++line 8 column 3 - Warning: 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
+ line 1 column 1 - Warning: proprietary attribute "xmlns:msxsl"
+ line 1 column 1 - Warning: proprietary attribute "xmlns:user"
++line 12 column 1 - Warning:
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 @@
+
+
+
Joe-Bob joined the Firm in 1995 after 15 years with the
+- Kansas City firm of Fish, Gill, Smoker & Butts, where he
+- was a Shareholder/Director. 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. 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. 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 @@
+
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: