Răsfoiți Sursa

Added h-card to the class of mention links.

default 2 ani în urmă
părinte
comite
b1dceb0770
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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))