commit 0c03e6c

green  ·  2025-04-13 13:44:24 +0000 UTC
parent 13c9306
cleaned up old changes and outdated comments
3 files changed,  +2, -8
M html.c
+2, -3
 1@@ -34,7 +34,7 @@ const char *susie_cool =
 2     "+ZcgN7wF7ZVihXkfSlWIVzIA6dbQzaygllpNuTX"
 3     "ZmmFNlvxADX1+o0cUPMbAAAAAElFTkSuQmCC";
 4 
 5-const char *susie_muertos = 
 6+const char *susie_muertos =
 7     "iVBORw0KGgoAAAANSUhEUgAAAEAAAABAAQAAAAC"
 8     "CEkxzAAAAV0lEQVQoz4XQsQ0AMQxCUW/A/lv+DT"
 9     "ic6zGRolekIMyMELNp8PiCEw6Q4w4NoAt53IH5m"
10@@ -1328,8 +1328,7 @@ xs_dict *msg_actor(snac *snac)
11     msg = xs_dict_set(msg, "published",         xs_dict_get(snac->config, "published"));
12 
13     // this exists so we get the emoji tags from our name too.
14-    // and then we just throw away the result, because it's kinda useless to have markdown in the dysplay name.
15-    // right now, only emojies in bio actually work for local users
16+    // and then we just throw away the result, because it's kinda useless to have markdown in the display name.
17     xs *name_dummy = not_really_markdown(xs_dict_get(snac->config, "name"), NULL, &tags);
18 
19     xs *f_bio_2 = not_really_markdown(xs_dict_get(snac->config, "bio"), NULL, &tags);
+0, -1
1@@ -10,7 +10,6 @@
2 #include "xs_match.h"
3 
4 #include "snac.h"
5-#include <string.h>
6 
7 /* emoticons, people laughing and such */
8 const char *smileys[] = {
M html.c
+0, -4
 1@@ -3136,10 +3136,6 @@ xs_html *html_people_list(snac *user, xs_list *list, const char *header, const c
 2 
 3             if (!xs_is_null(c)) {
 4                 xs *sc = sanitize(c);
 5-
 6-                // replace shortnames in bio
 7-                // bug: this somehow fires twice on one specific user
 8-                // @ielenia@ck.catwithaclari.net
 9                 sc = replace_shortnames(sc, xs_dict_get(actor, "tag"), 2, proxy);
10 
11                 xs_html *snac_content = xs_html_tag("div",