Add code to the sanitizer to convert presontational attributes that were removed...
authorDaniel Friesen <dantman@users.mediawiki.org>
Sun, 14 Aug 2011 16:41:53 +0000 (16:41 +0000)
committerDaniel Friesen <dantman@users.mediawiki.org>
Sun, 14 Aug 2011 16:41:53 +0000 (16:41 +0000)
commit6007684f5734924c3347bbdc59a3d346f2f7729e
treedd7420f127948dbcf263294fe6aa6ad87fa284c9
parent22b0fc2f103bb3ee348e1af588311eda801129a3
Add code to the sanitizer to convert presontational attributes that were removed in html5 into inline css. This allows wiki to keep using them in short loose WikiText but still output valid modern markup.
Note that there were some attributes excluded. Namely stuff on img and object, and the table cellspacing and cellpading which aren't easily converted into inline css.
RELEASE-NOTES-1.19
includes/DefaultSettings.php
includes/Sanitizer.php