Ticket #20342: 20342.diff
File 20342.diff, 795 bytes (added by , 11 years ago) |
---|
-
tests/phpunit/tests/formatting/WPTexturize.php
194 194 $this->assertEquals( ' — ', wptexturize( ' -- ' ) ); 195 195 $this->assertEquals( ' — ', wptexturize( ' -- ') ); 196 196 } 197 198 /** 199 * @ticket 20342 200 */ 201 function test_quotes_after_emdash() { 202 $this->assertEquals( '<p>I also remember the line in “Casey at the Bat” when he struck out—“There is no Joy in Mudville!!!”</p>', wptexturize( '<p>I also remember the line in "Casey at the Bat" when he struck out---"There is no Joy in Mudville!!!"</p>' ) ); 203 } 197 204 }