Ticket #27350: 27350.diff
| File 27350.diff, 555 bytes (added by , 12 years ago) |
|---|
-
tests/phpunit/tests/formatting/Autop.php
400 400 401 401 $this->assertEquals( $expected, trim( wpautop( $content ) ) ); 402 402 } 403 404 /** 405 * @ticket 27350 406 */ 407 function test_wpautop_div_with_pre() { 408 $input = "hello<div>test</div>"; 409 $expected = '<p>hello</p> 410 <div>test</div>'; 411 412 $this->assertEquals( $expected, wpautop( $input ) ); 413 } 414 403 415 }
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)