diff --git a/integration/class-friends-feed-parser-activitypub.php b/integration/class-friends-feed-parser-activitypub.php index 34f3d77..db155c1 100644 --- a/integration/class-friends-feed-parser-activitypub.php +++ b/integration/class-friends-feed-parser-activitypub.php @@ -248,7 +248,7 @@ class Friends_Feed_Parser_ActivityPub extends \Friends\Feed_Parser { $data['content'] .= PHP_EOL; $data['content'] .= ''; - $data['content'] .= '
'; + $data['content'] .= ''; $data['content'] .= ''; } $meta = \Activitypub\get_remote_metadata_by_actor( $object['attributedTo'] ); diff --git a/tests/test-class-friends-feed-parser-activitypub.php b/tests/test-class-friends-feed-parser-activitypub.php index f48efb1..79f5a74 100644 --- a/tests/test-class-friends-feed-parser-activitypub.php +++ b/tests/test-class-friends-feed-parser-activitypub.php @@ -68,7 +68,7 @@ class Test_Friends_Feed_Parser_ActivityPub extends \WP_UnitTestCase { $this->assertEquals( $post_count + 1, count( $posts ) ); $this->assertStringStartsWith( $content, $posts[0]->post_content ); - $this->assertStringContainsString( '', $posts[0]->post_content ); + $this->assertStringContainsString( 'post_content ); $this->assertEquals( $this->friend_id, $posts[0]->post_author ); // Do another test post, this time with a URL that has an @-id.