WordPress.org

Make WordPress Core

Changeset 311 in tests


Ignore:
Timestamp:
10/28/10 16:24:43 (3 years ago)
Author:
westi
Message:

Add test cases for WP#15241.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-testcase/test_includes_formatting.php

    r285 r311  
    368368        $this->assertEquals('Class of ’99', wptexturize("Class of '99")); 
    369369        $this->assertEquals('‘Class of ’99’', wptexturize("'Class of '99'")); 
     370    } 
     371     
     372    function test_other_html() { 
     373        $this->knownWPBug(15241); 
     374        $this->assertEquals('&#8216;<strong>Quoted Text</strong>&#8217;,', wptexturize("'<strong>Quoted Text</strong>',")); 
     375        $this->assertEquals('&#8220;<strong>Quoted Text</strong>&#8221;,', wptexturize('"<strong>Quoted Text</strong>",')); 
    370376    } 
    371377} 
Note: See TracChangeset for help on using the changeset viewer.