Browse Source

Added h-card to the class of mention links.

default 10 months ago
parent
commit
b1dceb0770
1 changed files with 1 additions and 1 deletions
  1. 1 1
      activitypub.c

+ 1 - 1
activitypub.c

@@ -757,7 +757,7 @@ xs_str *process_tags(snac *snac, const char *content, xs_list **tag)
 
                     tl = xs_list_append(tl, d);
 
-                    link = xs_fmt("<a href=\"%s\" class=\"u-url mention\">%s</a>", actor, n);
+                    link = xs_fmt("<a href=\"%s\" class=\"u-url h-card mention\">%s</a>", actor, n);
                 }
 
                 if (!xs_is_null(link))