Fix microformat for comments
This commit is contained in:
parent
0c316d18a2
commit
f2e8bd7387
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user