snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit b1dceb07704d419e6e13f6509d5f80832b20460c
parent 7a6b94a058dcef6f94eb98e404f56f2872ece3c5
Author: default <nobody@localhost>
Date:   Sun,  2 Jun 2024 08:44:38 +0200

Added h-card to the class of mention links.

Diffstat:
Mactivitypub.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/activitypub.c b/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))