$this->assertEquals('@darius Huh, I just have never encountered anyone using the phrase generically like that.But you might consider writing IndieWeb.org-style bots (Atom+WebSub, and optionally WebMention if you want them to be interactive), and then using https://fed.brid.gy/ as an alternative to implementing ActivityPub yourself...',$data['data']['content']['text']);
$this->assertEquals("@darius Huh, I just have never encountered anyone using the phrase generically like that.\n\nBut you might consider writing IndieWeb.org-style bots (Atom+WebSub, and optionally WebMention if you want them to be interactive), and then using https://fed.brid.gy/ as an alternative to implementing ActivityPub yourself...",$data['data']['content']['text']);
@ -315,6 +315,18 @@ class ParseTest extends PHPUnit\Framework\TestCase
$this->assertEquals('This page has a link to target.example.com and some formatted text but is in a p-content element so is plaintext.',$data->data->content->text);
@ -424,7 +424,7 @@ class SanitizeTest extends PHPUnit\Framework\TestCase
$this->assertEquals('This is a photo post with an <code>img</code> tag inside the content, which does not have a u-photo class so should not be removed. <img src="http://target.example.com/photo.jpg" alt="a photo" />',$data->data->content->html);
@ -437,4 +437,18 @@ class SanitizeTest extends PHPUnit\Framework\TestCase
$this->assertEquals("This content has two break tags to indicate a paragraph break.\n\nThis is how tantek's autolinker works.",$data->data->content->text);
$this->assertEquals('<p>This is a multiline post separated by paragraph tags with no space between them.</p><p>This is how Mastodon formats HTML.</p>',$data->data->content->html);
$this->assertEquals("This is a multiline post separated by paragraph tags with no space between them.\n\nThis is how Mastodon formats HTML.",$data->data->content->text);