(bug 40306) Only convert align to float for table.
authorAntoine Musso <hashar@free.fr>
Mon, 17 Sep 2012 20:16:34 +0000 (22:16 +0200)
committerAntoine Musso <hashar@free.fr>
Tue, 18 Sep 2012 12:44:50 +0000 (14:44 +0200)
commit218d50c0c3ba3af7843bff32fca9f1eec74925b6
treebdb3954c210d6050f6f8924d2038832bc79b2306
parent7ccc77a33f120c3e692ba5f24a3e5084119e167a
(bug 40306) Only convert align to float for table.

Align should be converted to text-align for all the elements specified
in $presentationalAttribs mapping. Table however is an exception, it
applies to alignment of the block (instead of the content).

Follow up I108cbd10 / 27a4d74bd7.

Change-Id: Iee17d4ef1a6a9b46d88a330cfc9179bccfe93247
includes/Sanitizer.php
tests/phpunit/includes/SanitizerTest.php