summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
authorGravatar default2022-11-13 15:19:46 +0100
committerGravatar default2022-11-13 15:19:46 +0100
commit3a4878fe5e3cfa1861ab9ccad88f7440050300d3 (patch)
tree8d07604fd09cc97f82de21f6b83db68eff8e9607 /activitypub.c
parentVersion 2.10 RELEASED. (diff)
parentSet "u-url mention" class for mentions. (diff)
downloadsnac2-3a4878fe5e3cfa1861ab9ccad88f7440050300d3.tar.gz
snac2-3a4878fe5e3cfa1861ab9ccad88f7440050300d3.tar.xz
snac2-3a4878fe5e3cfa1861ab9ccad88f7440050300d3.zip
Merge branch 'master' of triptico.com:git/snac22.10
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/activitypub.c b/activitypub.c
index 6314314..82230ff 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -243,7 +243,7 @@ void process_tags(const char *content, d_char **n_content, d_char **tag)
243 if (valid_status(status)) { 243 if (valid_status(status)) {
244 xs *d = xs_dict_new(); 244 xs *d = xs_dict_new();
245 xs *n = xs_fmt("@%s", uid); 245 xs *n = xs_fmt("@%s", uid);
246 xs *l = xs_fmt("<a href=\"%s\">%s</a>", actor, n); 246 xs *l = xs_fmt("<a href=\"%s\" class=\"u-url mention\">%s</a>", actor, n);
247 247
248 d = xs_dict_append(d, "type", "Mention"); 248 d = xs_dict_append(d, "type", "Mention");
249 d = xs_dict_append(d, "href", actor); 249 d = xs_dict_append(d, "href", actor);