Fix WDDX formatted output
authorBrad Jorsch <bjorsch@wikimedia.org>
Mon, 18 Mar 2013 18:43:49 +0000 (14:43 -0400)
committerBrad Jorsch <bjorsch@wikimedia.org>
Mon, 18 Mar 2013 18:47:44 +0000 (14:47 -0400)
commiteb72fecfda252f5ee6548acf0beacbf070389402
tree283e097a2f052d71dc8af39eb53699a31d162288
parentd240930dd4c8bb62dee0c84c0e892dc7cf051196
Fix WDDX formatted output

WDDX formatted output was blowing up if a boolean crept into the result
data.

Also, the tests for "isHtml" were backwards, so it was inserting the
whitespaces for the unformatted output and leaving them out for the
formatted output.

Change-Id: I719d84c59cf25e5de6fcd6e914a50e4ba8938899
RELEASE-NOTES-1.21
includes/api/ApiFormatWddx.php