Hook up Balancer as a Tidy implementation.
authorC. Scott Ananian <cscott@cscott.net>
Tue, 14 Jun 2016 21:59:20 +0000 (17:59 -0400)
committerTim Starling <tstarling@wikimedia.org>
Tue, 12 Jul 2016 04:18:04 +0000 (14:18 +1000)
commitce081a3d7b5b24f39beb9955ccd5a9d5e79cfa86
tree4236ab3d04cf4716076baafd5917695ebff74b4f
parenta7e2b5b2842b95bd3b63af89a3687a92d144aa68
Hook up Balancer as a Tidy implementation.

This is an HTML5-compliant parse/serialize tidy implementation, with
well-delineated hacks to support the <p>-wrapping done by legacy tidy.

Change-Id: I4fd433fd6f1847061b0bf4b3e249c918720d4fae
autoload.php
includes/DefaultSettings.php
includes/parser/MWTidy.php
includes/tidy/Balancer.php
includes/tidy/Html5Internal.php [new file with mode: 0644]
tests/phpunit/includes/tidy/BalancerTest.php