makes HTML5 five only attributes a global property
authorAntoine Musso <hashar@users.mediawiki.org>
Mon, 24 Oct 2011 13:58:03 +0000 (13:58 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Mon, 24 Oct 2011 13:58:03 +0000 (13:58 +0000)
commitb4913d5b969543cc3bfd3653c12eaee7ea6c409b
treebfc6c28965cc7251b25ffd162a58f3009c8024a8
parent874ae7a73147063ee8adff5a581d113cfcf79203
makes HTML5 five only attributes a global property

This patch move an array hidden in Html::expandAttributes() to the top of
the class definition as self::$HTMLFiveOnlyAttribs.
That also make the Html::expandAttributes() method a bit more concise.
includes/Html.php