Allow lines empty but for tabs and comments to be ignored.
authorC. Scott Ananian <cscott@cscott.net>
Thu, 8 Aug 2013 23:48:16 +0000 (19:48 -0400)
committerC. Scott Ananian <cscott@cscott.net>
Tue, 13 Aug 2013 19:36:57 +0000 (15:36 -0400)
commit35422cadf2ad6ca46d629c9d3f0df452c51c6d97
treeb7c54848ebe961bb43f511babab6f5d6dfad0f99
parentf089e20bc00f6f6e6cc15b4fd8f81bbe9c3dc102
Allow lines empty but for tabs and comments to be ignored.

We originally allowed only spaces around comments.  Now allow tabs as
well.  This ought to affect very few pages, but it helps predictability
and to maintain consistency between the PHP preprocessor and parsoid.

Change-Id: Icb3ff6eec08aaa83ae332d03c910c13995c9c9ee
includes/parser/Preprocessor_DOM.php
includes/parser/Preprocessor_Hash.php
tests/parser/parserTests.txt
tests/phpunit/includes/parser/PreprocessorTest.php