diff options
| author | 2023-05-21 20:32:23 +0200 | |
|---|---|---|
| committer | 2023-05-21 20:32:23 +0200 | |
| commit | 49362f54049a357e52cd6c57d2aa20d33add3307 (patch) | |
| tree | 0417bac6b8157ce7be07be86b7eb6915bb24cdf7 /snac.h | |
| parent | Updated TODO. (diff) | |
| download | snac2-49362f54049a357e52cd6c57d2aa20d33add3307.tar.gz snac2-49362f54049a357e52cd6c57d2aa20d33add3307.tar.xz snac2-49362f54049a357e52cd6c57d2aa20d33add3307.zip | |
Convert image links in notes to attachments.
Diffstat (limited to 'snac.h')
| -rw-r--r-- | snac.h | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -228,7 +228,7 @@ int activitypub_post_handler(const xs_dict *req, const char *q_path, | |||
| 228 | char *payload, int p_size, | 228 | char *payload, int p_size, |
| 229 | char **body, int *b_size, char **ctype); | 229 | char **body, int *b_size, char **ctype); |
| 230 | 230 | ||
| 231 | xs_str *not_really_markdown(const char *content); | 231 | xs_str *not_really_markdown(const char *content, xs_list **attach); |
| 232 | xs_str *sanitize(const char *content); | 232 | xs_str *sanitize(const char *content); |
| 233 | 233 | ||
| 234 | int html_get_handler(const xs_dict *req, const char *q_path, | 234 | int html_get_handler(const xs_dict *req, const char *q_path, |