Html::expandAttributes( array( 'foo' => null ) ); ' foo=""' -> ''
authorDaniel Friesen <dantman@users.mediawiki.org>
Sat, 5 Feb 2011 20:28:04 +0000 (20:28 +0000)
committerDaniel Friesen <dantman@users.mediawiki.org>
Sat, 5 Feb 2011 20:28:04 +0000 (20:28 +0000)
commit95e6386122a8326c88e29a4cbe233720084327a6
tree9408c59c2ffbef8f467668b1fbb1ebafc635e968
parenta605c351092d8a2e37d49ea982e1d83f7fccb215
Html::expandAttributes( array( 'foo' => null ) ); ' foo=""' -> ''
Outputting ' foo="" on `foo = null` promotes the writing of overly verbose code to avoid it, and ugly methods like our old Linker::getLinkAttributesInternal, both of which are completely counter to the purpose of Html::.
includes/Html.php