Make WordPress Core

Ticket #15444: test_includes_formatting.php.diff

File test_includes_formatting.php.diff, 681 bytes (added by norbertm, 14 years ago)
  • wp-testcase/test_includes_formatting.php

     
    464464                $this->assertEquals('&#8220;<strong>Quoted Text</strong>&#8221;,', wptexturize('"<strong>Quoted Text</strong>",'));
    465465        }
    466466       
     467        //WP Ticket #15444
     468        function test_tag_followed_by_quote() {
     469                $this->knownWPBug(15444);
     470                $this->assertEquals('<a href="#">Jim</a>&#8217;s red bike.', wptexturize('<a href="#">Jim</a>\'s red bike.'));
     471        }
     472
    467473        function test_x() {
    468474                $this->assertEquals('14&#215;24', wptexturize("14x24"));
    469475        }