summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--LICENSE2
-rw-r--r--html.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/LICENSE b/LICENSE
index 67296d8..c4c1fa9 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,6 +1,6 @@
1MIT License 1MIT License
2 2
3Copyright (c) 2022 grunfink 3Copyright (c) 2022 grunfink (Fediverse: @grunfink@comam.es)
4 4
5Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 5Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6 6
diff --git a/html.c b/html.c
index 277a7ff..1256cea 100644
--- a/html.c
+++ b/html.c
@@ -479,6 +479,8 @@ d_char *html_entry(snac *snac, d_char *os, char *msg, xs_set *seen, int local, i
479 int likes = xs_list_len(xs_dict_get(meta, "liked_by")); 479 int likes = xs_list_len(xs_dict_get(meta, "liked_by"));
480 int boosts = xs_list_len(xs_dict_get(meta, "announced_by")); 480 int boosts = xs_list_len(xs_dict_get(meta, "announced_by"));
481 481
482 /* alternate emojis: %d 👍 %d 🔁 */
483
482 xs *s1 = xs_fmt( 484 xs *s1 = xs_fmt(
483 "<div class=\"snac-score\">%d &#9733; %d &#8634;</div>\n", 485 "<div class=\"snac-score\">%d &#9733; %d &#8634;</div>\n",
484 likes, boosts); 486 likes, boosts);