From d9d4465eb4bae643fc037cba7738a66cd1cb508d Mon Sep 17 00:00:00 2001 From: grunfink Date: Mon, 18 May 2026 17:08:11 +0200 Subject: Limited the number of nested quoted posts to 3. --- html.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'html.c') diff --git a/html.c b/html.c index dbc65c8..cd1746a 100644 --- a/html.c +++ b/html.c @@ -2816,7 +2816,7 @@ xs_html *html_entry(snac *user, xs_dict *msg, int read_only, /* quoted post */ const char *quoted_id = xs_or(xs_dict_get(msg, "quoteUri"), xs_dict_get(msg, "quoteUrl")); - if (xs_is_string(quoted_id) && xs_match(quoted_id, "https://*|http://*")) { /** **/ + if (level < 3 && xs_is_string(quoted_id) && xs_match(quoted_id, "https://*|http://*")) { /** **/ xs *quoted_post = NULL; if (valid_status(object_get(quoted_id, "ed_post))) { -- cgit