diff options
| author | grunfink <grunfink@comam.es> | 2025-12-18 09:45:55 +0100 |
|---|---|---|
| committer | grunfink <grunfink@comam.es> | 2025-12-18 09:45:55 +0100 |
| commit | da6d275933e9dac513386ac2bc567d3568ab0217 (patch) | |
| tree | a30b2ca813854dab04b255ff879ded831a88937a | |
| parent | 4a56b57be746b828a67b621c7fd6c7c134f64e09 (diff) | |
Strip surrounding colons in emoji pictures, if they are still there.
| -rw-r--r-- | html.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2521,6 +2521,8 @@ xs_html *html_entry(snac *user, xs_dict *msg, int read_only, cl = xs_list_append(cl, "snac-reaction-image"); xs *emoji = _replace_shortnames(xs_dup(shortname), tag, 2, proxy, cl, act); + emoji = xs_strip_chars_i(emoji, ":"); + if (me) class = xs_list_append(class, "snac-reacted"); |