diff --git a/src/Endpoint.php b/src/Endpoint.php index dd90e10..4e22a4b 100644 --- a/src/Endpoint.php +++ b/src/Endpoint.php @@ -81,7 +81,7 @@ class Endpoint { { if (str_contains($class, "u-like-of")) { return MentionType::Like; - } else if (str_contains($class, "u-reply-to")) { + } else if (str_contains($class, "u-in-reply-to")) { return MentionType::Reply; } diff --git a/tests/EndpointTest.php b/tests/EndpointTest.php index 5f3b487..e1bdd0f 100644 --- a/tests/EndpointTest.php +++ b/tests/EndpointTest.php @@ -216,7 +216,7 @@ class EndpointTest extends TestCase {

Some content

Here's some body content. It contains a url.

-

I'm writing about this post.

+

I'm writing about this post.

XML;