aboutsummaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authorgrunfink <grunfink@comam.es>2025-05-03 18:55:10 +0200
committergrunfink <grunfink@comam.es>2025-05-03 18:55:10 +0200
commit6878e3fc939c3dac9853a3a33bfab7a289c7648b (patch)
treea1e68fec08620a42a42c9a68edfdd80b4213497e /html.c
parent136b7c1581ae6e4aac4a1e4fa04340eb9aab7943 (diff)
Also add direct and markdown links in posts as attachments.
Diffstat (limited to 'html.c')
-rw-r--r--html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/html.c b/html.c
index 288968d..0652892 100644
--- a/html.c
+++ b/html.c
@@ -2388,7 +2388,7 @@ xs_html *html_entry(snac *user, xs_dict *msg, int read_only,
const char *o_href = xs_dict_get(a, "href");
const char *name = xs_dict_get(a, "name");
- /* if this image is already in the post content, skip */
+ /* if this URL is already in the post content, skip */
if (content && xs_str_in(content, o_href) != -1)
continue;