diff options
| -rw-r--r-- | activitypub.c | 2 | ||||
| -rw-r--r-- | html.c | 2 |
2 files changed, 2 insertions, 2 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); |
| @@ -442,7 +442,7 @@ d_char *html_entry_controls(snac *snac, d_char *os, char *msg, int num) | |||
| 442 | 442 | ||
| 443 | xs *s1 = xs_fmt( | 443 | xs *s1 = xs_fmt( |
| 444 | "<p><details><summary>%s</summary>\n" | 444 | "<p><details><summary>%s</summary>\n" |
| 445 | "<div class=\"snac-note\" id=\"%s_reply\">\n" | 445 | "<p><div class=\"snac-note\" id=\"%s_reply\">\n" |
| 446 | "<form method=\"post\" action=\"%s/admin/note\" " | 446 | "<form method=\"post\" action=\"%s/admin/note\" " |
| 447 | "enctype=\"multipart/form-data\" id=\"%s_reply_form\">\n" | 447 | "enctype=\"multipart/form-data\" id=\"%s_reply_form\">\n" |
| 448 | "<textarea class=\"snac-textarea\" name=\"content\" " | 448 | "<textarea class=\"snac-textarea\" name=\"content\" " |