Commit graph

4 commits

Author SHA1 Message Date
Alexandre Emsenhuber
1455fe4e21 $wgLanguageCode applies to $wgContLang, not $wgLang. This was breaking the test suite by dying with a "nooo!" in when reaching LanguageConverterTest. 2011-08-05 15:10:08 +00:00
Platonides
a326e60e48 Follow-up r92588. Make it work regardless of $wgHtml5 2011-07-19 22:10:05 +00:00
Platonides
a2251d34f9 Follow up r91419. A boolean attribute can be both the empty string and its name [http://www.whatwg.org/specs/web-apps/current-work/multipage/common-microsyntaxes.html#boolean-attributes]
We use the later since that's what xhtml1 required [http://www.w3.org/TR/xhtml1/#h-4.5].
2011-07-19 21:38:28 +00:00
Antoine Musso
2801589462 tests for Html::testExpandAttributes()
FIXME: seems a code duplication of Xml::expandAttributes()

follow up r81571 (skip attributes with null value)
2011-07-04 19:51:35 +00:00