Changeset 35141 for trunk/tests/phpunit/tests/kses.php
- Timestamp:
- 10/13/2015 05:17:13 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/kses.php
r33359 r35141 375 375 $this->assertEquals( '∴', wp_kses_normalize_entities( '∴' ) ); 376 376 } 377 377 378 378 /** 379 379 * Test removal of invalid binary data for HTML. … … 412 412 ); 413 413 } 414 414 415 415 /** 416 416 * Test removal of '\0' strings. … … 424 424 return $this->assertEquals( $output, wp_kses( $input, $allowedposttags ) ); 425 425 } 426 426 427 427 function data_slash_zero_removal() { 428 428 return array( … … 643 643 ); 644 644 } 645 646 /** 647 * @ticket 34063 648 */ 649 function test_bdo() { 650 global $allowedposttags; 651 652 $input = '<p>This is <bdo dir="rtl">a BDO tag</bdo>. Weird, <bdo dir="ltr">right?</bdo></p>'; 653 654 $this->assertEquals( $input, wp_kses( $input, $allowedposttags ) ); 655 } 645 656 }
Note: See TracChangeset
for help on using the changeset viewer.