Added h-card to the class of mention links.

This commit is contained in:
default 2024-06-02 08:44:38 +02:00
parent 7a6b94a058
commit b1dceb0770

View file

@ -757,7 +757,7 @@ xs_str *process_tags(snac *snac, const char *content, xs_list **tag)
tl = xs_list_append(tl, d); 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)) if (!xs_is_null(link))