Avoid pointless $wgHtml5 checks
authorAryeh Gregor <simetrical@users.mediawiki.org>
Thu, 19 Nov 2009 01:24:58 +0000 (01:24 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Thu, 19 Nov 2009 01:24:58 +0000 (01:24 +0000)
commit38331bbce03e6c7879ee55fd09c46b3ebedc5fe1
tree8f226386061ea5b407fafca1fa5aeeb3f10e1605
parent44309e75572b4af76cffb776abb2eafcfa52ecac
Avoid pointless $wgHtml5 checks

Html::rawElement() should strip out any invalid attributes if $wgHtml5
is off.  This commit should introduce no functional change.  Any future
problems with attributes being added incorrectly should be fixed in
Html.php, not callers.

Follow-up to r57096.
includes/HTMLForm.php