diff options
| author | grunfink <grunfink@noreply.codeberg.org> | 2026-06-25 18:44:41 +0200 |
|---|---|---|
| committer | grunfink <grunfink@noreply.codeberg.org> | 2026-06-25 18:44:41 +0200 |
| commit | 0885a39c777a95ffdb56d2db7fe036d6dfc5b4ee (patch) | |
| tree | 24b52df8550dd227d845af01e4b78f2395d374bd | |
| parent | e817de55282786dee6cca7ffd8b714e99292047b (diff) | |
| parent | b2f091cb5ad0544fffab699f244690671684fa87 (diff) | |
Merge pull request 'Fixed custom emojis would turn into plain text with the :shortcode: format after edit status.' (#623) from e0w0e/snac:custom_emoji_edit_patch into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/623
| -rw-r--r-- | mastoapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4208,8 +4208,8 @@ int mastoapi_put_handler(const xs_dict *req, const char *q_path, if (valid_status(timeline_get_by_md5(&snac, md5, &msg))) { const char *content = xs_dict_get(args, "status"); xs *atls = xs_list_new(); - xs *f_content0 = not_really_markdown(content, &atls, NULL); xs *tag = xs_list_new(); + xs *f_content0 = not_really_markdown(content, &atls, &tag); xs *f_content = process_tags(&snac, f_content0, &tag); /* replace fields with new content */ |