Don't drop default attrib values in non-HTML5
authorAryeh Gregor <simetrical@users.mediawiki.org>
Fri, 18 Sep 2009 14:19:34 +0000 (14:19 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Fri, 18 Sep 2009 14:19:34 +0000 (14:19 +0000)
commit4a02cca0a3a9b5c4073a984e86f3f29f2b8a74d9
tree55a72d4dce5b0d393365ba8965b47096db917e3c
parenteedc51dcce1c6a513cb4cd74a3bcbc7791438320
Don't drop default attrib values in non-HTML5

Some attributes that have defaults in HTML5 don't have defaults in
XHTML1, particularly type="" on scripts and styles (bug 20713).  There's
not much point in trying to maintain two separate sets of defaults,
so I've just kept the HTML5 ones and haven't tried to strip any defaults
in XHTML1 mode.
includes/Html.php