0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-11-08 14:58:42 +00:00

Oh whitespace how I despise you! Fix whitespace discrepancies between DOM and DirectLex.

git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1099 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
Edward Z. Yang 2007-05-27 16:17:14 +00:00
parent 95499e34da
commit f758f7c534

View File

@ -101,18 +101,8 @@ class HTMLPurifier_Test extends UnitTestCase
$this->purifier = new HTMLPurifier();
$this->assertPurification(
'<TABLE>
<COLGROUP>
<COL span=3 width=64 />
<TBODY><TR><TD>1</TD><TD>2</TD><TD>3</TD></TR>
</TBODY>
</TABLE>',
'<table>
<colgroup>
<col span="3" width="64" />
</colgroup><tbody><tr><td>1</td><td>2</td><td>3</td></tr>
</tbody>
</table>'
'<TABLE><COLGROUP><COL span=3 width=64 /><TBODY><TR><TD>1</TD><TD>2</TD><TD>3</TD></TR></TBODY></TABLE>',
'<table><colgroup><col span="3" width="64" /></colgroup><tbody><tr><td>1</td><td>2</td><td>3</td></tr></tbody></table>'
);
}