From 265f2b40ddfe4c63ccda2267c046bd246fd43e40 Mon Sep 17 00:00:00 2001 From: "C. Scott Ananian" Date: Tue, 18 Oct 2016 06:51:33 -0700 Subject: [PATCH] Update Balancer to latest HTML5 spec This corresponds to the 1.0.27 release of domino, and matches the latest HTML5 spec as of 2016-10-18. Changes include: * is no longer an empty element. * has been removed. * Updated html5lib-tests (copied from domino 1.0.27). * Round-trip-safe serialization of
//",
+			"
\n\na
\n\nb", + true # use the tidy-compatible mode + ]; + return $tests; } } diff --git a/tests/phpunit/includes/tidy/html5lib-tests.json b/tests/phpunit/includes/tidy/html5lib-tests.json index beb36598dd..2b1c3e8cdf 100644 --- a/tests/phpunit/includes/tidy/html5lib-tests.json +++ b/tests/phpunit/includes/tidy/html5lib-tests.json @@ -1242,6 +1242,64 @@ "html": "

x

", "noQuirksBodyHtml": "

x

" } + }, + { + "data": "