commit b1dceb0

default  ·  2024-06-02 06:44:38 +0000 UTC
parent 7a6b94a
Added h-card to the class of mention links.
1 files changed,  +1, -1
+1, -1
1@@ -757,7 +757,7 @@ xs_str *process_tags(snac *snac, const char *content, xs_list **tag)
2 
3                     tl = xs_list_append(tl, d);
4 
5-                    link = xs_fmt("<a href=\"%s\" class=\"u-url mention\">%s</a>", actor, n);
6+                    link = xs_fmt("<a href=\"%s\" class=\"u-url h-card mention\">%s</a>", actor, n);
7                 }
8 
9                 if (!xs_is_null(link))