Fix microformat for comments
This commit is contained in:
1 parent
0c316d18a2
commit
f2e8bd7387
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -216,7 +216,7 @@ class EndpointTest extends TestCase {
|
||||
<body>
|
||||
<h1>Some content</h1>
|
||||
<p>Here's some body content. It <a href="/another/page">contains a url</a>.</p>
|
||||
<p>I'm writing about <a href="$target" class="u-reply-to">this post</a>.</p>
|
||||
<p>I'm writing about <a href="$target" class="u-in-reply-to">this post</a>.</p>
|
||||
</body>
|
||||
</html>
|
||||
XML;
|
||||
|
||||
Reference in new issue
Block a user