Hide <style> tags from Tidy
authorBrad Jorsch <bjorsch@wikimedia.org>
Tue, 13 Jun 2017 16:03:56 +0000 (12:03 -0400)
committerBrad Jorsch <bjorsch@wikimedia.org>
Tue, 13 Jun 2017 17:02:57 +0000 (13:02 -0400)
commit83b798bbabbe048552fba735834c773ac2015aed
tree2c6619cc32fbe3a51f7a3d799261ed7d68ebcc9d
parente250f70742f082bc294e39329a773bcf5ec99dea
Hide <style> tags from Tidy

Some versions of html-tidy (e.g. the one currently in use on WMF wikis)
will try to move all <style> tags in the body into the head, effectively
removing them for our purposes. We need to avoid that for TemplateStyles.

Bug: T167349
Change-Id: I133776d16f366cad73ed30af0e5a665fdf9f5ed9
includes/tidy/RaggettWrapper.php
includes/tidy/tidy.conf
tests/parser/parserTests.txt