diff --git a/regression_testing/cases/github-cases/case-525.conf b/regression_testing/cases/github-cases/case-525.conf
new file mode 100644
index 0000000..e569388
--- /dev/null
+++ b/regression_testing/cases/github-cases/case-525.conf
@@ -0,0 +1,2 @@
+sort-attributes: none
+priority-attributes: id, style, class
diff --git a/regression_testing/cases/github-cases/case-525@1.html b/regression_testing/cases/github-cases/case-525@1.html
new file mode 100755
index 0000000..1996695
--- /dev/null
+++ b/regression_testing/cases/github-cases/case-525@1.html
@@ -0,0 +1,25 @@
+
+
+
+
+Issue 525 – Infer UL around LI
+
+
+
+Bachelor of Arts
+Bachelor of Biomedical Science
+Bachelor of Commerce
+Bachelor of Commerce Specialist
+Bachelor of Computer Science
+Bachelor of Education (Honours)
+Bachelor of Engineering (Honours)
+Bachelor of Global Studies
+Bachelor of Information Technology
+Bachelor of Laws (Honours)
+Bachelor of Music.
+
+
+
diff --git a/regression_testing/cases/github-expects/case-525.html b/regression_testing/cases/github-expects/case-525.html
new file mode 100644
index 0000000..28a6174
--- /dev/null
+++ b/regression_testing/cases/github-expects/case-525.html
@@ -0,0 +1,26 @@
+
+
+
+
+Issue 525 – Infer UL around LI
+
+
+
+
+- Bachelor of Arts
+- Bachelor of Biomedical Science
+- Bachelor of Commerce
+- Bachelor of Commerce Specialist
+- Bachelor of Computer Science
+- Bachelor of Education (Honours)
+- Bachelor of Engineering (Honours)
+- Bachelor of Global Studies
+- Bachelor of Information Technology
+- Bachelor of Laws (Honours)
+- Bachelor of Music.
+
+
+
diff --git a/regression_testing/cases/github-expects/case-525.txt b/regression_testing/cases/github-expects/case-525.txt
new file mode 100644
index 0000000..5b9ef5e
--- /dev/null
+++ b/regression_testing/cases/github-expects/case-525.txt
@@ -0,0 +1,19 @@
+line 12 column 1 - Warning: isn't allowed in elements
+line 10 column 1 - Info: previously mentioned
+line 12 column 1 - Warning: inserting implicit
+line 24 column 1 - Warning: discarding unexpected
+line 25 column 1 - Warning: discarding unexpected
+line 12 column 1 - Warning: missing
+Info: Document content looks like HTML5
+Tidy found 5 warnings and 0 errors!
+
+About HTML Tidy: https://github.com/htacg/tidy-html5
+Bug reports and comments: https://github.com/htacg/tidy-html5/issues
+Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/
+Latest HTML specification: https://html.spec.whatwg.org/multipage/
+Validate your HTML documents: https://validator.w3.org/nu/
+Lobby your company to join the W3C: https://www.w3.org/Consortium
+
+Do you speak a language other than English, or a different variant of
+English? Consider helping us to localize HTML Tidy. For details please see
+https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md
diff --git a/regression_testing/cases/legacy-expects/case-1410061a.html b/regression_testing/cases/legacy-expects/case-1410061a.html
index 6f4d028..a19d6c6 100644
--- a/regression_testing/cases/legacy-expects/case-1410061a.html
+++ b/regression_testing/cases/legacy-expects/case-1410061a.html
@@ -14,8 +14,8 @@ processor. The small footprint enables it to be installed even in
restricted spaces. The Compact E.O.S. can be extended at the back
with a table for film processing from a darkroom.
-capacity: up to 240 films per hour (medium format)
+- capacity: up to 240 films per hour (medium format)
- cassette cycle time: 15 s
- film formats: 18 x24cm to 35 x 43cm
- film storage magazines that can be used: Curix, Scopix
@@ -33,6 +33,5 @@ lower heat dissipation
possible service messages
-