From f2e8bd7387c2ca24b2f0f9337d8b38135d681de7 Mon Sep 17 00:00:00 2001 From: Lewis Dale Date: Tue, 14 Mar 2023 09:15:54 +0000 Subject: [PATCH] Fix microformat for comments --- src/Endpoint.php | 2 +- tests/EndpointTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;