diff options
| author | 2024-06-02 08:44:38 +0200 | |
|---|---|---|
| committer | 2024-06-02 08:44:38 +0200 | |
| commit | b1dceb07704d419e6e13f6509d5f80832b20460c (patch) | |
| tree | 5f97e0bc2e673fd60a0a395e69791f4ac6f5ecb6 | |
| parent | mastoapi: fix crashes on unset content-type. (diff) | |
| download | penes-snac2-b1dceb07704d419e6e13f6509d5f80832b20460c.tar.gz penes-snac2-b1dceb07704d419e6e13f6509d5f80832b20460c.tar.xz penes-snac2-b1dceb07704d419e6e13f6509d5f80832b20460c.zip | |
Added h-card to the class of mention links.
| -rw-r--r-- | activitypub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activitypub.c b/activitypub.c index 212dd2f..8998acd 100644 --- a/activitypub.c +++ b/activitypub.c | |||
| @@ -757,7 +757,7 @@ xs_str *process_tags(snac *snac, const char *content, xs_list **tag) | |||
| 757 | 757 | ||
| 758 | tl = xs_list_append(tl, d); | 758 | tl = xs_list_append(tl, d); |
| 759 | 759 | ||
| 760 | link = xs_fmt("<a href=\"%s\" class=\"u-url mention\">%s</a>", actor, n); | 760 | link = xs_fmt("<a href=\"%s\" class=\"u-url h-card mention\">%s</a>", actor, n); |
| 761 | } | 761 | } |
| 762 | 762 | ||
| 763 | if (!xs_is_null(link)) | 763 | if (!xs_is_null(link)) |