Changeset 46019 for trunk/tests/phpunit/tests/formatting/WPRelNoFollow.php
- Timestamp:
- 09/04/2019 06:40:13 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/formatting/WPRelNoFollow.php
r45990 r46019 77 77 78 78 public function test_append_no_follow_with_valueless_attribute() { 79 $content = '<p>This is some cool <a href="demo.com" download rel="hola">Code</a></p>';79 $content = '<p>This is some cool <a href="demo.com" download rel="hola">Code</a></p>'; 80 80 $expected = '<p>This is some cool <a href=\"demo.com\" download rel=\"hola nofollow\">Code</a></p>'; 81 81 $this->assertEquals( $expected, wp_rel_nofollow( $content ) );
Note: See TracChangeset
for help on using the changeset viewer.