mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-11-09 23:28: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:
parent
95499e34da
commit
f758f7c534
@ -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>'
|
||||
);
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user